Skip to content

Commit

Permalink
Remove asmjs from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Oct 29, 2023
1 parent 6649219 commit e9a009f
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// targets, with the exception of nvptx64-nvidia-cuda
//
// revisions: r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23
// revisions: r24 r25 r26 r27 r28 r29 r30 r31 r32 r33 r34 r35 r36 r37 r38 r39 r40 r41 r42 r43 r44
// revisions: r24 r25 r26 r27 r28 r29 r30 r31 r32 r33 r35 r36 r37 r38 r39 r40 r41 r42 r43 r44
// revisions: r45 r46 r47 r48 r49 r50 r51 r52 r53 r54 r55 r56 r57 r58 r59 r60 r61 r62 r63 r64 r65
// revisions: r66 r67 r68 r69 r70 r71 r72 r73 r74 r75 r76 r77 r78 r79 r80 r81 r82 r83 r84
// assembly-output: emit-asm
Expand Down Expand Up @@ -72,8 +72,7 @@
// [r32] needs-llvm-components: arm
// [r33] compile-flags: --target armv7-unknown-linux-musleabihf
// [r33] needs-llvm-components: arm
// [r34] compile-flags: --target asmjs-unknown-emscripten
// [r34] needs-llvm-components: webassembly

// [r35] compile-flags: --target i586-pc-windows-msvc
// [r35] needs-llvm-components: x86
// [r36] compile-flags: --target i586-unknown-linux-gnu
Expand Down
1 change: 0 additions & 1 deletion tests/incremental/commandline-args.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test that changing a tracked commandline argument invalidates
// the cache while changing an untracked one doesn't.

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

Expand Down
1 change: 0 additions & 1 deletion tests/incremental/remapped_paths_cc/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// compile-flags: -Z query-dep-graph -g
// aux-build:extern_crate.rs

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

Expand Down
1 change: 0 additions & 1 deletion tests/incremental/span_hash_stable/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// the spans and this test makes sure that we handle them correctly by hashing
// file:line:column instead of raw byte offset.

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

Expand Down
1 change: 0 additions & 1 deletion tests/incremental/spans_in_type_debuginfo.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Test that moving a type definition within a source file does not affect
// re-compilation.

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

Expand Down
1 change: 0 additions & 1 deletion tests/incremental/spans_significant_w_debuginfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// revisions:rpass1 rpass2

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

#![feature(rustc_attrs)]
Expand Down
5 changes: 0 additions & 5 deletions tests/ui/abi/variadic-ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ use std::ffi::VaList;
extern "C" {
fn rust_interesting_average(_: u64, ...) -> f64;

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

Expand Down
1 change: 0 additions & 1 deletion tests/ui/async-await/issue-60709.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// compile-flags: -Copt-level=z -Cdebuginfo=2 --edition=2018

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

use std::future::Future;
use std::task::Poll;
Expand Down
1 change: 0 additions & 1 deletion tests/ui/binding/match-arm-statics.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
#![allow(dead_code)]
// compile-flags: -g
// ignore-asmjs wasm2js does not support source maps yet

#[derive(PartialEq, Eq)]
struct NewBool(bool);
Expand Down
3 changes: 0 additions & 3 deletions tests/ui/cfg/conditional-compile-arch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ pub fn main() { }
#[cfg(target_arch = "s390x")]
pub fn main() { }

#[cfg(target_arch = "asmjs")]
pub fn main() { }

#[cfg(target_arch = "wasm32")]
pub fn main() { }

Expand Down
1 change: 0 additions & 1 deletion tests/ui/coroutine/issue-58888.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// compile-flags: -g
// ignore-asmjs wasm2js does not support source maps yet

#![feature(coroutines, coroutine_trait)]

Expand Down
1 change: 0 additions & 1 deletion tests/ui/coroutine/size-moved-locals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

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

#![feature(coroutines, coroutine_trait)]
Expand Down
1 change: 0 additions & 1 deletion tests/ui/extern/extern-const.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

// run-rustfix
// ignore-wasm32-bare no external library to link to.
// ignore-asmjs wasm2js does not support source maps yet
// compile-flags: -g
#![feature(rustc_private)]
extern crate libc;
Expand Down
1 change: 0 additions & 1 deletion tests/ui/extern/extern-const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

// run-rustfix
// ignore-wasm32-bare no external library to link to.
// ignore-asmjs wasm2js does not support source maps yet
// compile-flags: -g
#![feature(rustc_private)]
extern crate libc;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/extern/extern-const.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: extern items cannot be `const`
--> $DIR/extern-const.rs:16:11
--> $DIR/extern-const.rs:15:11
|
LL | const rust_dbg_static_mut: libc::c_int;
| ------^^^^^^^^^^^^^^^^^^^
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-18804/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Test for issue #18804, #[linkage] does not propagate through generic
// functions. Failure results in a linker error.

// ignore-asmjs no weak symbol support
// ignore-emscripten no weak symbol support
// ignore-windows no extern_weak linkage
// ignore-macos no extern_weak linkage
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-23477.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// build-pass
// ignore-asmjs wasm2js does not support source maps yet
// compile-flags: -g

pub struct Dst {
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-24687-embed-debuginfo/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
// aux-build:issue-24687-lib.rs
// compile-flags:-g
// ignore-asmjs wasm2js does not support source maps yet

extern crate issue_24687_lib as d;

Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-24945-repeat-dash-opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// as options to the compiler.

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

fn main() {
assert_eq!(1, 1);
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-26484.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// compile-flags:-g
// ignore-asmjs wasm2js does not support source maps yet

fn helper<F: FnOnce(usize) -> bool>(_f: F) {
print!("");
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-33096.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// compile-flags: -g
// ignore-asmjs wasm2js does not support source maps yet

use std::ops::Deref;

Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-34569.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// compile-flags:-g
// ignore-asmjs wasm2js does not support source maps yet

// In this test we just want to make sure that the code below does not lead to
// a debuginfo verification assertion during compilation. This was caused by the
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-36856.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Regression test for #36856.

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

fn g() -> bool {
false
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-42210.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Regression test for #42210.

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

trait Foo {
fn foo() { }
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-45731.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass
#![allow(unused_variables)]
// compile-flags:--test -g
// ignore-asmjs wasm2js does not support source maps yet

#[cfg(target_os = "macos")]
#[test]
Expand Down
1 change: 0 additions & 1 deletion tests/ui/issues/issue-58463.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// run-pass
// compile-flags:-C debuginfo=2
// ignore-asmjs wasm2js does not support source maps yet

fn foo() -> impl Copy {
foo
Expand Down
1 change: 0 additions & 1 deletion tests/ui/lto/debuginfo-lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// aux-build:debuginfo-lto-aux.rs
// compile-flags: -C lto -g
// no-prefer-dynamic
// ignore-asmjs wasm2js does not support source maps yet

extern crate debuginfo_lto_aux;

Expand Down
1 change: 0 additions & 1 deletion tests/ui/parser/issues/issue-48508.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// issue-48508-aux.rs

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

#![allow(uncommon_codepoints)]

Expand Down
1 change: 0 additions & 1 deletion tests/ui/sepcomp/sepcomp-lib-lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

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

extern crate sepcomp_lib;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// This is a regression test for issue #17021.
//
// compile-flags: -g
// ignore-asmjs wasm2js does not support source maps yet

use std::ptr;

Expand Down

0 comments on commit e9a009f

Please sign in to comment.