about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/build_system/src/utils.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/build_system/src/utils.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/build_system/src/utils.rs')
-rw-r--r--compiler/rustc_codegen_gcc/build_system/src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/build_system/src/utils.rs b/compiler/rustc_codegen_gcc/build_system/src/utils.rs
index 401c23948e5..ca177a5feb8 100644
--- a/compiler/rustc_codegen_gcc/build_system/src/utils.rs
+++ b/compiler/rustc_codegen_gcc/build_system/src/utils.rs
@@ -10,7 +10,7 @@ use std::path::{Path, PathBuf};
 use std::process::{Command, ExitStatus, Output};
 
 #[cfg(unix)]
-extern "C" {
+unsafe extern "C" {
     fn raise(signal: c_int) -> c_int;
 }