Skip to content

Commit be4e089

Browse files
committed
Fix the coldcc codegen test on wasm32
1 parent a5394aa commit be4e089

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/codegen/cold-call-declare-and-call.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
#![crate_type = "lib"]
44
#![feature(rust_cold_cc)]
55

6-
// CHECK: define coldcc void @this_should_never_happen(i16
6+
// wasm marks the definition as `dso_local`, so allow that as optional.
7+
8+
// CHECK: define{{( dso_local)?}} coldcc void @this_should_never_happen(i16
79
// CHECK: call coldcc void @this_should_never_happen(i16
810

911
#[no_mangle]

0 commit comments

Comments
 (0)