mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Remove asmjs from tests
This commit is contained in:
parent
6649219c3f
commit
e9a009fd1a
@ -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
|
||||
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)]
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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() { }
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
// run-pass
|
||||
// compile-flags: -g
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
|
||||
#![feature(coroutines, coroutine_trait)]
|
||||
|
||||
|
@ -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)]
|
||||
|
1
tests/ui/extern/extern-const.fixed
vendored
1
tests/ui/extern/extern-const.fixed
vendored
@ -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;
|
||||
|
1
tests/ui/extern/extern-const.rs
vendored
1
tests/ui/extern/extern-const.rs
vendored
@ -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;
|
||||
|
2
tests/ui/extern/extern-const.stderr
vendored
2
tests/ui/extern/extern-const.stderr
vendored
@ -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;
|
||||
| ------^^^^^^^^^^^^^^^^^^^
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
// build-pass
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
// compile-flags: -g
|
||||
|
||||
pub struct Dst {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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!("");
|
||||
|
@ -1,6 +1,5 @@
|
||||
// run-pass
|
||||
// compile-flags: -g
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
|
||||
use std::ops::Deref;
|
||||
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,6 @@
|
||||
// Regression test for #36856.
|
||||
|
||||
// compile-flags:-g
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
|
||||
fn g() -> bool {
|
||||
false
|
||||
|
@ -2,7 +2,6 @@
|
||||
// Regression test for #42210.
|
||||
|
||||
// compile-flags: -g
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
|
||||
trait Foo {
|
||||
fn foo() { }
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
// issue-48508-aux.rs
|
||||
|
||||
// compile-flags:-g
|
||||
// ignore-asmjs wasm2js does not support source maps yet
|
||||
|
||||
#![allow(uncommon_codepoints)]
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user