Permalink
Please
sign in to comment.
Browse files
Add rustflags support to config files
`build.rustflags` is treated exactly like `RUSTFLAGS`. It is a list, so argument lists with spaces work. `RUSTFLAGS` takes precedent, then `build.rustflags`.
- Loading branch information...
Showing
with
906 additions
and 451 deletions.
- +54 −54 Cargo.lock
- +1 −1 src/cargo/ops/cargo_compile.rs
- +22 −16 src/cargo/ops/cargo_rustc/context.rs
- +1 −1 src/cargo/ops/cargo_rustc/fingerprint.rs
- +1 −1 src/cargo/ops/cargo_rustc/mod.rs
- +0 −378 tests/test_cargo_compile.rs
- +826 −0 tests/test_cargo_compile_rustflags.rs
- +1 −0 tests/tests.rs
0 comments on commit
2f01868