about summary refs log tree commit diff
path: root/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-23 20:17:52 +0200
committerGitHub <noreply@github.com>2024-04-23 20:17:52 +0200
commit36449f8cd6a2166dec0799499218f89e2b25402c (patch)
tree77c7d2d3c8ed989da80b0218ff8e356188bcd54f /example/std_example.rs
parent6a2ad5510824ae3268bceb31661f3f7e21c88801 (diff)
parentf7627c3baa51be16743a363827594121cb0b63b9 (diff)
Rollup merge of #124286 - bjorn3:sync_cg_clif-2024-04-23, r=bjorn3
Subtree sync for rustc_codegen_cranelift

This fixes a crash when compiling the standard library. In addition the Cranelift update fixes all the 128bit int abi incompatibility between cg_clif and cg_llvm.

r? ``@ghost``

``@rustbot`` label +A-codegen +A-cranelift +T-compiler
Diffstat (limited to 'example/std_example.rs')
-rw-r--r--example/std_example.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/std_example.rs b/example/std_example.rs
index 2fee912e52c..0205de55622 100644
--- a/example/std_example.rs
+++ b/example/std_example.rs
@@ -7,6 +7,7 @@
     tuple_trait,
     unboxed_closures
 )]
+#![allow(internal_features)]
 
 #[cfg(target_arch = "x86_64")]
 use std::arch::x86_64::*;