Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include Cargo rustc configuration in probe
Without this, environments that configure `RUSTFLAGS` or the `RUSTC_WRAPPER` in ways that break compilation with `backtrace` will fail to compile anyhow (see dtolnay#156). With this, the compiler probe takes into account that Cargo configuration, and thus (more) accurately represents whether the `backtrace` feature can be safely enabled. Requires rust-lang/cargo#9600. Fixes dtolnay#156.
- Loading branch information