2bf59bea48
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
17 lines
231 B
Rust
17 lines
231 B
Rust
// run-pass
|
|
// Regression test for #36856.
|
|
|
|
// compile-flags:-g
|
|
// ignore-asmjs wasm2js does not support source maps yet
|
|
|
|
fn g() -> bool {
|
|
false
|
|
}
|
|
|
|
pub fn main() {
|
|
let a = !g();
|
|
if a != !g() {
|
|
panic!();
|
|
}
|
|
}
|