From 47b9316bb105eb75565865c2ce55c3bdf3d148d8 Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Tue, 28 Jun 2022 01:00:45 -0300 Subject: [PATCH] Add Cross.toml in order to pass the NIF version to cross (#5) This is important because `cross` don't have access by default to the env vars of the system. This is related to https://github.com/philss/rustler_precompiled/issues/23 --- native/qrusty/Cross.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 native/qrusty/Cross.toml diff --git a/native/qrusty/Cross.toml b/native/qrusty/Cross.toml new file mode 100644 index 0000000..8ba543c --- /dev/null +++ b/native/qrusty/Cross.toml @@ -0,0 +1,4 @@ +[build.env] +passthrough = [ + "RUSTLER_NIF_VERSION" +]