diff options
| author | bors <bors@rust-lang.org> | 2025-03-01 00:53:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-01 00:53:19 +0000 |
| commit | 30508faeb3248d399079513b6e0107af30a43948 (patch) | |
| tree | 8010a4be6772a8d6d0799f8aa372ecd29dc6abe3 /tests/codegen/stack-probes-inline.rs | |
| parent | aa3c2d73eff57d6b019c26a1e9aa8afd8bc186ad (diff) | |
| parent | 0cb9827d706dea0afdbdf3701aa3ff78b16b5a4b (diff) | |
| download | rust-30508faeb3248d399079513b6e0107af30a43948.tar.gz rust-30508faeb3248d399079513b6e0107af30a43948.zip | |
Auto merge of #137796 - jieyouxu:rollup-qt9yr1g, r=jieyouxu
Rollup of 10 pull requests Successful merges: - #134943 (Add FileCheck annotations to mir-opt/issues) - #137017 (Don't error when adding a staticlib with bitcode files compiled by newer LLVM) - #137197 (Update some comparison codegen tests now that they pass in LLVM20) - #137540 (Fix (more) test directives that were accidentally ignored) - #137551 (import `simd_` intrinsics) - #137599 (tests: use minicore more) - #137673 (Fix Windows `Command` search path bug) - #137676 (linker: Fix escaping style for response files on Windows) - #137693 (Re-enable `--generate-link-to-defintion` for tools internal rustdoc) - #137770 (Fix sized constraint for unsafe binder) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/codegen/stack-probes-inline.rs')
| -rw-r--r-- | tests/codegen/stack-probes-inline.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/codegen/stack-probes-inline.rs b/tests/codegen/stack-probes-inline.rs index c5073b9cc22..746272b0994 100644 --- a/tests/codegen/stack-probes-inline.rs +++ b/tests/codegen/stack-probes-inline.rs @@ -1,6 +1,7 @@ // Check the "probe-stack" attribute for targets with `StackProbeType::Inline`, // or `StackProbeType::InlineOrCall` when running on newer LLVM. +//@ add-core-stubs //@ compile-flags: -C no-prepopulate-passes //@ revisions: aarch64 powerpc powerpc64 powerpc64le s390x i686 x86_64 //@[aarch64] compile-flags: --target aarch64-unknown-linux-gnu @@ -22,8 +23,8 @@ #![feature(no_core, lang_items)] #![no_core] -#[lang = "sized"] -trait Sized {} +extern crate minicore; +use minicore::*; #[no_mangle] pub fn foo() { |
