rust/tests/ui/intrinsics
Hood Chatham 1d6643c4f6 Fix most ui tests on emscripten target
To fix the linker errors, we need to set the output extension to `.js` instead
of `.wasm`. Setting the output to a `.wasm` file puts Emscripten into standalone
mode which is effectively a distinct target. We need to set the runner to be
`node` as well.

This fixes most of the ui tests. I fixed a few more tests with simple problems:
- `intrinsics/intrinsic-alignment.rs` and `structs-enums/rec-align-u64.rs` --
Two `#[cfg]` macros match for Emscripten so we got a duplicate definition of
`mod m`.
- `issues/issue-12699.rs` -- Seems to hang so I disabled it
- `process/process-sigpipe.rs` -- Not expected to work on Emscripten so I
disabled it
2024-10-15 14:25:55 +02:00
..
auxiliary
always-extern.rs
always-extern.stderr
always-gets-overridden.rs
bad-intrinsic-monomorphization.rs
bad-intrinsic-monomorphization.stderr
const-eval-select-backtrace-std.rs
const-eval-select-backtrace-std.run.stderr
const-eval-select-backtrace.rs
const-eval-select-backtrace.run.stderr
const-eval-select-bad.rs
const-eval-select-bad.stderr
const-eval-select-stability.rs
const-eval-select-stability.stderr
const-eval-select-x86_64.rs
const-eval-select.rs
feature-gate-safe-intrinsic.rs
feature-gate-safe-intrinsic.stderr
incorrect-read_via_copy-defn.rs
incorrect-read_via_copy-defn.stderr
incorrect-transmute.rs
incorrect-transmute.stderr
intrinsic-alignment.rs
intrinsic-assume.rs
intrinsic-atomics-cc.rs
intrinsic-atomics.rs
intrinsic-fmuladd.rs
intrinsic-nearby.rs
intrinsic-raw_eq-const-bad.rs
intrinsic-raw_eq-const-bad.stderr
intrinsic-raw_eq-const.rs
intrinsic-unreachable.rs
intrinsic-volatile.rs
intrinsics-integer.rs
intrinsics-math.rs
issue-28575.rs
issue-28575.stderr
issue-84297-reifying-copy.rs
non-integer-atomic.rs
non-integer-atomic.stderr
not-overridden.rs
not-overridden.stderr
panic-uninitialized-zeroed.rs
reify-intrinsic.rs
reify-intrinsic.stderr
safe-intrinsic-mismatch.effects.stderr
safe-intrinsic-mismatch.rs
safe-intrinsic-mismatch.stock.stderr
unchecked_math_unsafe.rs
unchecked_math_unsafe.stderr
unchecked_math_unstable.rs
unchecked_math_unstable.stderr