Skip to content

Commit e9a009f

Browse files
Remove asmjs from tests
1 parent 6649219 commit e9a009f

30 files changed

+3
-38
lines changed

Diff for: tests/assembly/stack-protector/stack-protector-target-support.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// targets, with the exception of nvptx64-nvidia-cuda
33
//
44
// revisions: r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23
5-
// revisions: r24 r25 r26 r27 r28 r29 r30 r31 r32 r33 r34 r35 r36 r37 r38 r39 r40 r41 r42 r43 r44
5+
// revisions: r24 r25 r26 r27 r28 r29 r30 r31 r32 r33 r35 r36 r37 r38 r39 r40 r41 r42 r43 r44
66
// revisions: r45 r46 r47 r48 r49 r50 r51 r52 r53 r54 r55 r56 r57 r58 r59 r60 r61 r62 r63 r64 r65
77
// revisions: r66 r67 r68 r69 r70 r71 r72 r73 r74 r75 r76 r77 r78 r79 r80 r81 r82 r83 r84
88
// assembly-output: emit-asm
@@ -72,8 +72,7 @@
7272
// [r32] needs-llvm-components: arm
7373
// [r33] compile-flags: --target armv7-unknown-linux-musleabihf
7474
// [r33] needs-llvm-components: arm
75-
// [r34] compile-flags: --target asmjs-unknown-emscripten
76-
// [r34] needs-llvm-components: webassembly
75+
7776
// [r35] compile-flags: --target i586-pc-windows-msvc
7877
// [r35] needs-llvm-components: x86
7978
// [r36] compile-flags: --target i586-unknown-linux-gnu

Diff for: tests/incremental/commandline-args.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Test that changing a tracked commandline argument invalidates
22
// the cache while changing an untracked one doesn't.
33

4-
// ignore-asmjs wasm2js does not support source maps yet
54
// revisions:rpass1 rpass2 rpass3 rpass4
65
// compile-flags: -Z query-dep-graph
76

Diff for: tests/incremental/remapped_paths_cc/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// compile-flags: -Z query-dep-graph -g
33
// aux-build:extern_crate.rs
44

5-
// ignore-asmjs wasm2js does not support source maps yet
65
// This test case makes sure that we detect if paths emitted into debuginfo
76
// are changed, even when the change happens in an external crate.
87

Diff for: tests/incremental/span_hash_stable/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// the spans and this test makes sure that we handle them correctly by hashing
44
// file:line:column instead of raw byte offset.
55

6-
// ignore-asmjs wasm2js does not support source maps yet
76
// revisions:rpass1 rpass2
87
// compile-flags: -g -Z query-dep-graph
98

Diff for: tests/incremental/spans_in_type_debuginfo.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Test that moving a type definition within a source file does not affect
22
// re-compilation.
33

4-
// ignore-asmjs wasm2js does not support source maps yet
54
// revisions:rpass1 rpass2
65
// compile-flags: -Z query-dep-graph -g
76

Diff for: tests/incremental/spans_significant_w_debuginfo.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
// revisions:rpass1 rpass2
55

6-
// ignore-asmjs wasm2js does not support source maps yet
76
// compile-flags: -g -Z query-dep-graph
87

98
#![feature(rustc_attrs)]

Diff for: tests/ui/abi/variadic-ffi.rs

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ use std::ffi::VaList;
88
extern "C" {
99
fn rust_interesting_average(_: u64, ...) -> f64;
1010

11-
// FIXME: we need to disable this lint for `VaList`,
12-
// since it contains a `MaybeUninit<i32>` on the asmjs target,
13-
// and this type isn't FFI-safe. This is OK for now,
14-
// since the type is layout-compatible with `i32`.
15-
#[cfg_attr(target_arch = "asmjs", allow(improper_ctypes))]
1611
fn rust_valist_interesting_average(_: u64, _: VaList) -> f64;
1712
}
1813

Diff for: tests/ui/async-await/issue-60709.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// compile-flags: -Copt-level=z -Cdebuginfo=2 --edition=2018
44

55
// run-pass
6-
// ignore-asmjs wasm2js does not support source maps yet
76

87
use std::future::Future;
98
use std::task::Poll;

Diff for: tests/ui/binding/match-arm-statics.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
#![allow(dead_code)]
33
// compile-flags: -g
4-
// ignore-asmjs wasm2js does not support source maps yet
54

65
#[derive(PartialEq, Eq)]
76
struct NewBool(bool);

Diff for: tests/ui/cfg/conditional-compile-arch.rs

-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ pub fn main() { }
2828
#[cfg(target_arch = "s390x")]
2929
pub fn main() { }
3030

31-
#[cfg(target_arch = "asmjs")]
32-
pub fn main() { }
33-
3431
#[cfg(target_arch = "wasm32")]
3532
pub fn main() { }
3633

Diff for: tests/ui/coroutine/issue-58888.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// compile-flags: -g
3-
// ignore-asmjs wasm2js does not support source maps yet
43

54
#![feature(coroutines, coroutine_trait)]
65

Diff for: tests/ui/coroutine/size-moved-locals.rs

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
// edition:2018
1313
// ignore-wasm32 issue #62807
14-
// ignore-asmjs issue #62807
1514
// needs-unwind Size of Closures change on panic=abort
1615

1716
#![feature(coroutines, coroutine_trait)]

Diff for: tests/ui/extern/extern-const.fixed

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
// run-rustfix
88
// ignore-wasm32-bare no external library to link to.
9-
// ignore-asmjs wasm2js does not support source maps yet
109
// compile-flags: -g
1110
#![feature(rustc_private)]
1211
extern crate libc;

Diff for: tests/ui/extern/extern-const.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
// run-rustfix
88
// ignore-wasm32-bare no external library to link to.
9-
// ignore-asmjs wasm2js does not support source maps yet
109
// compile-flags: -g
1110
#![feature(rustc_private)]
1211
extern crate libc;

Diff for: tests/ui/extern/extern-const.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: extern items cannot be `const`
2-
--> $DIR/extern-const.rs:16:11
2+
--> $DIR/extern-const.rs:15:11
33
|
44
LL | const rust_dbg_static_mut: libc::c_int;
55
| ------^^^^^^^^^^^^^^^^^^^

Diff for: tests/ui/issues/issue-18804/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Test for issue #18804, #[linkage] does not propagate through generic
33
// functions. Failure results in a linker error.
44

5-
// ignore-asmjs no weak symbol support
65
// ignore-emscripten no weak symbol support
76
// ignore-windows no extern_weak linkage
87
// ignore-macos no extern_weak linkage

Diff for: tests/ui/issues/issue-23477.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// build-pass
2-
// ignore-asmjs wasm2js does not support source maps yet
32
// compile-flags: -g
43

54
pub struct Dst {

Diff for: tests/ui/issues/issue-24687-embed-debuginfo/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
// aux-build:issue-24687-lib.rs
33
// compile-flags:-g
4-
// ignore-asmjs wasm2js does not support source maps yet
54

65
extern crate issue_24687_lib as d;
76

Diff for: tests/ui/issues/issue-24945-repeat-dash-opts.rs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// as options to the compiler.
44

55
// compile-flags:-g -g -O -O
6-
// ignore-asmjs wasm2js does not support source maps yet
76

87
fn main() {
98
assert_eq!(1, 1);

Diff for: tests/ui/issues/issue-26484.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// compile-flags:-g
3-
// ignore-asmjs wasm2js does not support source maps yet
43

54
fn helper<F: FnOnce(usize) -> bool>(_f: F) {
65
print!("");

Diff for: tests/ui/issues/issue-33096.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// compile-flags: -g
3-
// ignore-asmjs wasm2js does not support source maps yet
43

54
use std::ops::Deref;
65

Diff for: tests/ui/issues/issue-34569.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// compile-flags:-g
3-
// ignore-asmjs wasm2js does not support source maps yet
43

54
// In this test we just want to make sure that the code below does not lead to
65
// a debuginfo verification assertion during compilation. This was caused by the

Diff for: tests/ui/issues/issue-36856.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Regression test for #36856.
33

44
// compile-flags:-g
5-
// ignore-asmjs wasm2js does not support source maps yet
65

76
fn g() -> bool {
87
false

Diff for: tests/ui/issues/issue-42210.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Regression test for #42210.
33

44
// compile-flags: -g
5-
// ignore-asmjs wasm2js does not support source maps yet
65

76
trait Foo {
87
fn foo() { }

Diff for: tests/ui/issues/issue-45731.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// run-pass
22
#![allow(unused_variables)]
33
// compile-flags:--test -g
4-
// ignore-asmjs wasm2js does not support source maps yet
54

65
#[cfg(target_os = "macos")]
76
#[test]

Diff for: tests/ui/issues/issue-58463.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// run-pass
22
// compile-flags:-C debuginfo=2
3-
// ignore-asmjs wasm2js does not support source maps yet
43

54
fn foo() -> impl Copy {
65
foo

Diff for: tests/ui/lto/debuginfo-lto.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// aux-build:debuginfo-lto-aux.rs
88
// compile-flags: -C lto -g
99
// no-prefer-dynamic
10-
// ignore-asmjs wasm2js does not support source maps yet
1110

1211
extern crate debuginfo_lto_aux;
1312

Diff for: tests/ui/parser/issues/issue-48508.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// issue-48508-aux.rs
88

99
// compile-flags:-g
10-
// ignore-asmjs wasm2js does not support source maps yet
1110

1211
#![allow(uncommon_codepoints)]
1312

Diff for: tests/ui/sepcomp/sepcomp-lib-lto.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// aux-build:sepcomp_lib.rs
66
// compile-flags: -C lto -g
7-
// ignore-asmjs wasm2js does not support source maps yet
87
// no-prefer-dynamic
98

109
extern crate sepcomp_lib;

Diff for: tests/ui/unboxed-closures/unboxed-closures-unique-type-id.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// This is a regression test for issue #17021.
1111
//
1212
// compile-flags: -g
13-
// ignore-asmjs wasm2js does not support source maps yet
1413

1514
use std::ptr;
1615

0 commit comments

Comments
 (0)