diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-09-02 17:08:34 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-10-02 13:26:42 +0000 |
| commit | b49adfeea512dde803222a063c8f079346fbfda5 (patch) | |
| tree | b76a994ad3bb361b2d610f2d1e729942b9ffbb78 | |
| parent | 654bc614dd81557e9a52084f23ec82a12d1fcd60 (diff) | |
| download | rust-b49adfeea512dde803222a063c8f079346fbfda5.tar.gz rust-b49adfeea512dde803222a063c8f079346fbfda5.zip | |
Compile cg_clif with -Zallow-features=rustc_private
Fixes #1218
| -rw-r--r-- | build_system/build_backend.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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()); |
