about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-05-17 02:50:33 +0000
committerbors <bors@rust-lang.org>2025-05-17 02:50:33 +0000
commita69bc17fb8026bdc0d24bb1896ff95f0eba1da4e (patch)
treebfc30fa4fe6f54b099d75803732deb0e08869c1a /compiler/rustc_codegen_gcc/src/lib.rs
parentc8bda740ea5c21af42fe4afa907f89805ab2b905 (diff)
parentd5c5a8251d0a9477ff6383638d5a8fdb2e109819 (diff)
downloadrust-a69bc17fb8026bdc0d24bb1896ff95f0eba1da4e.tar.gz
rust-a69bc17fb8026bdc0d24bb1896ff95f0eba1da4e.zip
Auto merge of #141002 - GuillaumeGomez:subtree-update_cg_gcc_2025-05-14, r=GuillaumeGomez
Subtree update GCC backend 2025 05 14

cc `@antoyo`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index 2c5a7871683..6e2a50d745a 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/src/lib.rs
@@ -16,7 +16,7 @@
 #![allow(internal_features)]
 #![doc(rust_logo)]
 #![feature(rustdoc_internals)]
-#![feature(rustc_private, decl_macro, never_type, trusted_len, let_chains)]
+#![feature(rustc_private, decl_macro, never_type, trusted_len)]
 #![allow(broken_intra_doc_links)]
 #![recursion_limit = "256"]
 #![warn(rust_2018_idioms)]
@@ -454,7 +454,7 @@ impl WriteBackendMethods for GccCodegenBackend {
 }
 
 /// This is the entrypoint for a hot plugged rustc_codegen_gccjit
-#[no_mangle]
+#[unsafe(no_mangle)]
 pub fn __rustc_codegen_backend() -> Box<dyn CodegenBackend> {
     #[cfg(feature = "master")]
     let info = {