Skip to content

Commit 0597225

Browse files
committed
Test
1 parent fbef602 commit 0597225

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/ui/codegen/empty-static-libs-issue-108825.rs

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
// `native-static-libs: ` note, even though it's empty.
33
//@ compile-flags: -Cpanic=abort --print=native-static-libs
44
//@ build-pass
5+
//@ ignore-wasm
6+
57
#![crate_type = "staticlib"]
6-
#![no_std]
8+
// #![no_std]
79

8-
#[panic_handler]
9-
fn panic(_info: &core::panic::PanicInfo) -> ! {
10-
loop {}
11-
}
10+
// #[panic_handler]
11+
// fn panic(_info: &core::panic::PanicInfo) -> ! {
12+
// loop {}
13+
// }

0 commit comments

Comments
 (0)