Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6649219
Remove asmjs from library
workingjubilee Oct 29, 2023
e9a009f
Remove asmjs from tests
workingjubilee Oct 29, 2023
c88fc2e
Remove asmjs from CI
workingjubilee Oct 29, 2023
e8a0274
Remove asmjs from miri
workingjubilee Oct 29, 2023
ca4d6d1
Remove asmjs from tools
workingjubilee Oct 29, 2023
0c1a452
Remove asmjs from bootstrap
workingjubilee Oct 29, 2023
208f378
Remove asmjs from compiler
workingjubilee Oct 29, 2023
dbb2500
Officially remove asmjs platform support
workingjubilee Oct 29, 2023
e6779d9
library: use `copied` instead of manual `map`
DaniPopes Nov 3, 2023
2736430
compiler: use `copied` instead of manual `map`
DaniPopes Nov 3, 2023
890ce26
When using existing fn as module, don't claim it doesn't exist
estebank Nov 16, 2023
ae62ebe
Don't require intercrate mode for negative coherence
compiler-errors Nov 16, 2023
d688b86
Ignore but do not assume region obligations from unifying headers in …
compiler-errors Nov 16, 2023
ae179a0
emit basic smir
ouz-a Nov 8, 2023
0f0e9ba
cover statements
ouz-a Nov 8, 2023
ebd9c14
better formatting for statements
ouz-a Nov 9, 2023
c821603
remove unwrap
ouz-a Nov 14, 2023
3883645
change smir to StableMir
ouz-a Nov 14, 2023
71c9904
move pretty into stable_mir
ouz-a Nov 15, 2023
3b0e1d2
only free lifetimes may get erased
lcnr Nov 17, 2023
92657f1
use new apis and add new function
ouz-a Nov 17, 2023
2e71bdd
Rollup merge of #117338 - workingjubilee:asmjs-meets-thanatos, r=b-naber
matthiaskrgr Nov 17, 2023
5ecf69c
Rollup merge of #117549 - DaniPopes:more-copied, r=b-naber
matthiaskrgr Nov 17, 2023
8bfefa1
Rollup merge of #117745 - ouz-a:emit_smir, r=celinval
matthiaskrgr Nov 17, 2023
95010db
Rollup merge of #117964 - estebank:issue-81232, r=petrochenkov
matthiaskrgr Nov 17, 2023
09b964a
Rollup merge of #117992 - compiler-errors:sound-but-not-complete, r=lcnr
matthiaskrgr Nov 17, 2023
7eb676f
Rollup merge of #117994 - compiler-errors:throw-away-regions-in-coher…
matthiaskrgr Nov 17, 2023
e3ec371
Rollup merge of #118006 - lcnr:discriminant-docs, r=compiler-errors
matthiaskrgr Nov 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove asmjs from tests
  • Loading branch information
workingjubilee committed Oct 29, 2023
commit e9a009fd1a9ce00ee07eeb17bc8e9985815a1296
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