diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2018-08-09 09:39:02 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2018-08-09 09:39:02 +0200 |
| commit | 49972e93ffdd6d70ddfef8486d1642cec69bfaeb (patch) | |
| tree | ca87a9d7e93dec8a8e7c0d2e6c66be1854550aa3 | |
| parent | 3a7005037726263c0beffd0efc3d5d147b2a86b4 (diff) | |
| download | rust-49972e93ffdd6d70ddfef8486d1642cec69bfaeb.tar.gz rust-49972e93ffdd6d70ddfef8486d1642cec69bfaeb.zip | |
Relax the target-cpu-on-function codegen test so it just checks for presence of the attribute.
| -rw-r--r-- | src/test/codegen/target-cpu-on-functions.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/codegen/target-cpu-on-functions.rs b/src/test/codegen/target-cpu-on-functions.rs index 1a6ab22e568..cd7d061c0de 100644 --- a/src/test/codegen/target-cpu-on-functions.rs +++ b/src/test/codegen/target-cpu-on-functions.rs @@ -13,7 +13,6 @@ // no-prefer-dynamic // ignore-tidy-linelength -// only-x86_64 // compile-flags: -C no-prepopulate-passes -C panic=abort -Z cross-lang-lto -Cpasses=name-anon-globals #![crate_type = "staticlib"] @@ -27,4 +26,4 @@ pub extern fn exported() { // CHECK-LABEL: define {{.*}} @_ZN23target_cpu_on_functions12not_exported{{.*}}() {{.*}} #0 fn not_exported() {} -// CHECK: attributes #0 = {{.*}} "target-cpu"="x86-64" +// CHECK: attributes #0 = {{.*}} "target-cpu"="{{.*}}" |
