From b011cd709729804f129b9e53fcc7e3447cc3bb0f Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 17 Aug 2020 07:07:39 +0000 Subject: [PATCH] Ensure RUSTFLAGS is passed through on cross compile (#1529) ## Issue Addressed NA ## Proposed Changes Tells `cross` (used for cross-compiling) to read the `RUSTFLAGS`env and pass it through during build. This allows us to use `-g` and get debug info. ## Additional Info NA --- Cross.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Cross.toml diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 00000000000..050f2bdbd75 --- /dev/null +++ b/Cross.toml @@ -0,0 +1,4 @@ +[build.env] +passthrough = [ + "RUSTFLAGS", +]