diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-17 16:17:40 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-07-17 16:19:12 +0000 |
| commit | 10762d5001f6abe686b14bffb83e618ec8fa2bb6 (patch) | |
| tree | 1d24124ca23fe3fa6f6e410e65e39ef6ddd33672 /tests/ui/lto | |
| parent | f8f6997469237299c1d60814c7b9828602a1f8e4 (diff) | |
| download | rust-10762d5001f6abe686b14bffb83e618ec8fa2bb6.tar.gz rust-10762d5001f6abe686b14bffb83e618ec8fa2bb6.zip | |
Fix debuginfo-lto-alloc.rs test
This should have used build-pass rather than check-pass.
Diffstat (limited to 'tests/ui/lto')
| -rw-r--r-- | tests/ui/lto/debuginfo-lto-alloc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/lto/debuginfo-lto-alloc.rs b/tests/ui/lto/debuginfo-lto-alloc.rs index 89043275329..d6855f8760d 100644 --- a/tests/ui/lto/debuginfo-lto-alloc.rs +++ b/tests/ui/lto/debuginfo-lto-alloc.rs @@ -8,8 +8,9 @@ // This test reproduces the circumstances that caused the error to appear, and checks // that compilation is successful. -//@ check-pass +//@ build-pass //@ compile-flags: --test -C debuginfo=2 -C lto=fat +//@ no-prefer-dynamic //@ incremental extern crate alloc; |
