Skip to content

Commit e9a009f

Browse files
Remove asmjs from tests
1 parent 6649219 commit e9a009f

30 files changed

+3
-38
lines changed

tests/assembly/stack-protector/stack-protector-target-support.rs

Lines changed: 2 additions & 3 deletions
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

tests/incremental/commandline-args.rs

Lines changed: 0 additions & 1 deletion
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

tests/incremental/remapped_paths_cc/main.rs

Lines changed: 0 additions & 1 deletion
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

tests/incremental/span_hash_stable/main.rs

Lines changed: 0 additions & 1 deletion
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

tests/incremental/spans_in_type_debuginfo.rs

Lines changed: 0 additions & 1 deletion
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

tests/incremental/spans_significant_w_debuginfo.rs

Lines changed: 0 additions & 1 deletion
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)]

tests/ui/abi/variadic-ffi.rs

Lines changed: 0 additions & 5 deletions
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

tests/ui/async-await/issue-60709.rs

Lines changed: 0 additions & 1 deletion
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;

tests/ui/binding/match-arm-statics.rs

Lines changed: 0 additions & 1 deletion
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);

tests/ui/cfg/conditional-compile-arch.rs

Lines changed: 0 additions & 3 deletions
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

0 commit comments

Comments
 (0)