Files
rust/tests/ui/panic-handler/weak-lang-item.rs
bjorn3 9b7623a162 Remove -Zemscripten-wasm-eh
This was necessary when transitioning from JS to wasm exception handling
on Emscripten. Enough time has probably passed that we no longer need to
support JS exception handling on Emscripten. This enables cleaning up a
fair bit of code.
2026-06-02 19:56:40 +02:00

14 lines
351 B
Rust

//@ edition:2015
//@ aux-build:weak-lang-items.rs
//@ needs-unwind since it affects the error output
#![no_std]
extern crate core; //~ ERROR the name `core` is defined multiple times
extern crate weak_lang_items;
fn main() {}
//~? ERROR `#[panic_handler]` function required, but not found
//~? ERROR unwinding panics are not supported without std