From ed9e6f2ad82a9ad783ed89b937d2951e44b6ce4b Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 29 Sep 2022 19:13:30 -0700 Subject: Enable inline stack probes on X86 with LLVM 16 --- compiler/rustc_target/src/spec/linux_kernel_base.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compiler/rustc_target/src/spec/linux_kernel_base.rs') diff --git a/compiler/rustc_target/src/spec/linux_kernel_base.rs b/compiler/rustc_target/src/spec/linux_kernel_base.rs index 0f5d85205f8..f41533a9548 100644 --- a/compiler/rustc_target/src/spec/linux_kernel_base.rs +++ b/compiler/rustc_target/src/spec/linux_kernel_base.rs @@ -6,8 +6,7 @@ pub fn opts() -> TargetOptions { env: "gnu".into(), disable_redzone: true, panic_strategy: PanicStrategy::Abort, - // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved - stack_probes: StackProbeType::Call, + stack_probes: StackProbeType::X86, frame_pointer: FramePointer::Always, position_independent_executables: true, needs_plt: true, -- cgit 1.4.1-3-g733a5