Skip to content

Commit

Permalink
Compile cg_clif with -Zallow-features=rustc_private
Browse files Browse the repository at this point in the history
Fixes #1218
  • Loading branch information
bjorn3 committed Oct 2, 2023
1 parent 654bc61 commit b49adfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_system/build_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit b49adfe

Please sign in to comment.