From 3b73e894eb2b9f8e540359613d2f2a1521d9f0a5 Mon Sep 17 00:00:00 2001 From: Erik Desjardins Date: Fri, 26 Jan 2024 23:22:48 -0500 Subject: [PATCH] i586_unknown_netbsd: use inline stack probes This is one of the last two targets still using "call" stack probes. --- compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs b/compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs index 574dc658b78c5..69bba4775b4ab 100644 --- a/compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs +++ b/compiler/rustc_target/src/spec/targets/i586_unknown_netbsd.rs @@ -4,7 +4,7 @@ pub fn target() -> Target { let mut base = base::netbsd::opts(); base.cpu = "pentium".into(); base.max_atomic_width = Some(64); - base.stack_probes = StackProbeType::Call; + base.stack_probes = StackProbeType::Inline; Target { llvm_target: "i586-unknown-netbsdelf".into(),