about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/linux_kernel_base.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-09-29 19:13:30 -0700
committerJosh Stone <jistone@redhat.com>2022-09-29 19:49:23 -0700
commited9e6f2ad82a9ad783ed89b937d2951e44b6ce4b (patch)
tree7967f1b6edc80c2a305f4322ed71407302064b03 /compiler/rustc_target/src/spec/linux_kernel_base.rs
parent1bb8d276c94c77a5fada815c5fad3b8d324adac4 (diff)
downloadrust-ed9e6f2ad82a9ad783ed89b937d2951e44b6ce4b.tar.gz
rust-ed9e6f2ad82a9ad783ed89b937d2951e44b6ce4b.zip
Enable inline stack probes on X86 with LLVM 16
Diffstat (limited to 'compiler/rustc_target/src/spec/linux_kernel_base.rs')
-rw-r--r--compiler/rustc_target/src/spec/linux_kernel_base.rs3
1 files changed, 1 insertions, 2 deletions
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,