Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass target-cpu and codegen-units as RUSTFLAGS
This fixes passing `target-cpu` and `codegen-units` to dependencies or to library if invocated for examples or benches. `args` from `cargo rustc -- args` are passed only to the final compiler instance. `RUSTFLAGS` envvar is useful for passing flags to all compiler instances.
- Loading branch information