diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2025-02-08 19:45:40 -0800 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2025-02-11 13:41:35 -0800 |
| commit | 3c0c9b6770f1ac0324be91580f52b6f45346e47b (patch) | |
| tree | 0ca2e1eeec35340e34dbe3f4920f0400f86ed9d1 /tests/codegen/external-no-mangle-statics.rs | |
| parent | 4c17270332c2908a9e77d0c5a5cdfc27edd45654 (diff) | |
| download | rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.tar.gz rust-3c0c9b6770f1ac0324be91580f52b6f45346e47b.zip | |
tests/codegen: use -Copt-level=3 instead of -O
Diffstat (limited to 'tests/codegen/external-no-mangle-statics.rs')
| -rw-r--r-- | tests/codegen/external-no-mangle-statics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/external-no-mangle-statics.rs b/tests/codegen/external-no-mangle-statics.rs index a44867ff923..dc4eca8c7b4 100644 --- a/tests/codegen/external-no-mangle-statics.rs +++ b/tests/codegen/external-no-mangle-statics.rs @@ -1,6 +1,6 @@ //@ revisions: lib staticlib //@ ignore-emscripten default visibility is hidden -//@ compile-flags: -O +//@ compile-flags: -Copt-level=3 //@ [lib] compile-flags: --crate-type lib //@ [staticlib] compile-flags: --crate-type staticlib // `#[no_mangle]`d static variables always have external linkage, i.e., no `internal` in their |
