Skip to content

Commit b49adfe

Browse files
committed
Compile cg_clif with -Zallow-features=rustc_private
Fixes rust-lang#1218
1 parent 654bc61 commit b49adfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_system/build_backend.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ pub(crate) fn build_backend(
2020

2121
let mut rustflags = rustflags_from_env("RUSTFLAGS");
2222

23+
rustflags.push("-Zallow-features=rustc_private".to_owned());
24+
2325
if is_ci() {
2426
// Deny warnings on CI
2527
rustflags.push("-Dwarnings".to_owned());

0 commit comments

Comments
 (0)