File tree 3 files changed +10
-11
lines changed
src/ci/docker/host-x86_64/wasm32
3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ fn spawn_and_wait<R: Send + 'static>(f: impl FnOnce() -> R + Send + 'static) ->
48
48
}
49
49
50
50
#[ test]
51
+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
51
52
fn sync_once_cell ( ) {
52
53
static ONCE_CELL : SyncOnceCell < i32 > = SyncOnceCell :: new ( ) ;
53
54
@@ -81,6 +82,7 @@ fn sync_once_cell_get_unchecked() {
81
82
}
82
83
83
84
#[ test]
85
+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
84
86
fn sync_once_cell_drop ( ) {
85
87
static DROP_CNT : AtomicUsize = AtomicUsize :: new ( 0 ) ;
86
88
struct Dropper ;
@@ -158,6 +160,7 @@ fn into_inner() {
158
160
}
159
161
160
162
#[ test]
163
+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
161
164
fn sync_lazy_new ( ) {
162
165
static CALLED : AtomicUsize = AtomicUsize :: new ( 0 ) ;
163
166
static SYNC_LAZY : SyncLazy < i32 > = SyncLazy :: new ( || {
@@ -204,6 +207,7 @@ fn sync_lazy_default() {
204
207
}
205
208
206
209
#[ test]
210
+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
207
211
fn static_sync_lazy ( ) {
208
212
static XS : SyncLazy < Vec < i32 > > = SyncLazy :: new ( || {
209
213
let mut xs = Vec :: new ( ) ;
@@ -279,6 +283,7 @@ fn eval_once_macro() {
279
283
}
280
284
281
285
#[ test]
286
+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
282
287
fn sync_once_cell_does_not_leak_partially_constructed_boxes ( ) {
283
288
static ONCE_CELL : SyncOnceCell < String > = SyncOnceCell :: new ( ) ;
284
289
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ use crate::{
27
27
} ,
28
28
time:: { TestTimeOptions , TimeThreshold } ,
29
29
} ;
30
- use std:: any:: TypeId ;
31
30
use std:: sync:: mpsc:: channel;
32
31
use std:: time:: Duration ;
33
32
@@ -198,6 +197,7 @@ fn test_should_panic_bad_message() {
198
197
#[ cfg( not( target_os = "emscripten" ) ) ]
199
198
fn test_should_panic_non_string_message_type ( ) {
200
199
use crate :: tests:: TrFailedMsg ;
200
+ use std:: any:: TypeId ;
201
201
fn f ( ) {
202
202
std:: panic:: panic_any ( 1i32 ) ;
203
203
}
Original file line number Diff line number Diff line change 1
- FROM ubuntu:16 .04
1
+ FROM ubuntu:20 .04
2
2
3
- RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
4
4
g++ \
5
5
make \
6
6
ninja-build \
@@ -51,12 +51,6 @@ ENV EMCC_CFLAGS=-O1
51
51
# Emscripten installation is user-specific
52
52
ENV NO_CHANGE_USER=1
53
53
54
- # FIXME: Re-enable these tests once https://github.com/rust-lang/cargo/pull/7476
55
- # is picked up by CI
54
+ # Exclude library/alloc due to OOM in benches.
56
55
ENV SCRIPT python3 ../x.py test --stage 2 --host='' --target $TARGETS \
57
- --exclude library/core \
58
- --exclude library/alloc \
59
- --exclude library/proc_macro \
60
- --exclude library/std \
61
- --exclude library/term \
62
- --exclude library/test
56
+ --exclude library/alloc
You can’t perform that action at this time.
0 commit comments