Skip to content

Commit 6aef1d6

Browse files
author
hyd-dev
committed
Remove erroneous exit() and ExitProcess() in tests/run-pass/function_calls/exported_symbol.rs
1 parent 83dd2d7 commit 6aef1d6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/run-pass/function_calls/exported_symbol.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ fn baz() -> i32 {
1515
-3
1616
}
1717

18-
// Make sure shims take precedence.
19-
#[no_mangle]
20-
extern "C" fn exit(_: i32) -> ! {
21-
unreachable!()
22-
}
23-
24-
#[no_mangle]
25-
extern "C" fn ExitProcess(_: u32) -> ! {
26-
unreachable!()
27-
}
28-
2918
fn main() {
3019
// Repeat calls to make sure the `Instance` cache is not broken.
3120
for _ in 0..3 {

0 commit comments

Comments
 (0)