Skip to content

Commit

Permalink
Ensure RUSTFLAGS is passed through on cross compile (#1529)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
paulhauner committed Aug 17, 2020
1 parent 3c689a6 commit b011cd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build.env]
passthrough = [
"RUSTFLAGS",
]

0 comments on commit b011cd7

Please sign in to comment.