Compile cg_clif with -Zallow-features=rustc_private

Fixes #1218
This commit is contained in:
bjorn3 2023-09-02 17:08:34 +00:00
parent 654bc614dd
commit b49adfeea5
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ pub(crate) fn build_backend(
let mut rustflags = rustflags_from_env("RUSTFLAGS");
rustflags.push("-Zallow-features=rustc_private".to_owned());
if is_ci() {
// Deny warnings on CI
rustflags.push("-Dwarnings".to_owned());