diff --git a/build_system/build_backend.rs b/build_system/build_backend.rs index e434c36f992..d90111adf77 100644 --- a/build_system/build_backend.rs +++ b/build_system/build_backend.rs @@ -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());