Rollup merge of #119758 - erikdesjardins:hurd, r=petrochenkov

GNU/Hurd: unconditionally use inline stack probes

LLVM 11 has been unsupported since 45591408b18e7f93fcf8c09210c9a5a102d84b37, so this doesn't need to be conditional on the LLVM version.

cc `@sthibaul`
This commit is contained in:
Guillaume Gomez 2024-01-09 13:23:19 +01:00 committed by GitHub
commit f41d773988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ pub fn target() -> Target {
base.cpu = "pentiumpro".into();
base.max_atomic_width = Some(64);
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32"]);
base.stack_probes = StackProbeType::InlineOrCall { min_llvm_version_for_inline: (11, 0, 1) };
base.stack_probes = StackProbeType::Inline;
Target {
llvm_target: "i686-unknown-hurd-gnu".into(),