Skip to content

Commit

Permalink
Add Cross.toml in order to pass the NIF version to cross (#68)
Browse files Browse the repository at this point in the history
This is important because `cross` don't have access by default to the
env vars in the system.

This is related to philss/rustler_precompiled#23
  • Loading branch information
philss authored Jun 24, 2022
1 parent 72a64da commit e5e42bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions native/html5ever_nif/Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build.env]
passthrough = [
"RUSTLER_NIF_VERSION"
]

0 comments on commit e5e42bb

Please sign in to comment.