diff options
| author | Jens Reidel <adrian@travitia.xyz> | 2025-07-18 19:44:20 +0200 |
|---|---|---|
| committer | Jens Reidel <adrian@travitia.xyz> | 2025-07-18 19:45:36 +0200 |
| commit | 2d51acd2fbcbadb6f30709c5dd305494d413d388 (patch) | |
| tree | 90586b86c7e78ba2da84b2d07f85b7d28ce32822 | |
| parent | 82310651b93a594a3fd69015e1562186a080d94c (diff) | |
| download | rust-2d51acd2fbcbadb6f30709c5dd305494d413d388.tar.gz rust-2d51acd2fbcbadb6f30709c5dd305494d413d388.zip | |
tests: assembly: cstring-merging: Disable GlobalMerge pass
The test relies on LLVM not merging all the globals into one and would currently otherwise fail on powerpc64le. Signed-off-by: Jens Reidel <adrian@travitia.xyz>
| -rw-r--r-- | tests/assembly/cstring-merging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/assembly/cstring-merging.rs b/tests/assembly/cstring-merging.rs index f7d0775f7af..03688e0068b 100644 --- a/tests/assembly/cstring-merging.rs +++ b/tests/assembly/cstring-merging.rs @@ -2,7 +2,7 @@ // other architectures (including ARM and x86-64) use the prefix `.Lanon.` //@ only-linux //@ assembly-output: emit-asm -//@ compile-flags: --crate-type=lib -Copt-level=3 +//@ compile-flags: --crate-type=lib -Copt-level=3 -Cllvm-args=-enable-global-merge=0 //@ edition: 2024 use std::ffi::CStr; |
