This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
src/ci/docker/host-x86_64/wasm32 Expand file tree Collapse file tree 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) ->
4848}
4949
5050#[ test]
51+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
5152fn sync_once_cell ( ) {
5253 static ONCE_CELL : SyncOnceCell < i32 > = SyncOnceCell :: new ( ) ;
5354
@@ -81,6 +82,7 @@ fn sync_once_cell_get_unchecked() {
8182}
8283
8384#[ test]
85+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
8486fn sync_once_cell_drop ( ) {
8587 static DROP_CNT : AtomicUsize = AtomicUsize :: new ( 0 ) ;
8688 struct Dropper ;
@@ -158,6 +160,7 @@ fn into_inner() {
158160}
159161
160162#[ test]
163+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
161164fn sync_lazy_new ( ) {
162165 static CALLED : AtomicUsize = AtomicUsize :: new ( 0 ) ;
163166 static SYNC_LAZY : SyncLazy < i32 > = SyncLazy :: new ( || {
@@ -204,6 +207,7 @@ fn sync_lazy_default() {
204207}
205208
206209#[ test]
210+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
207211fn static_sync_lazy ( ) {
208212 static XS : SyncLazy < Vec < i32 > > = SyncLazy :: new ( || {
209213 let mut xs = Vec :: new ( ) ;
@@ -279,6 +283,7 @@ fn eval_once_macro() {
279283}
280284
281285#[ test]
286+ #[ cfg_attr( target_os = "emscripten" , ignore) ]
282287fn sync_once_cell_does_not_leak_partially_constructed_boxes ( ) {
283288 static ONCE_CELL : SyncOnceCell < String > = SyncOnceCell :: new ( ) ;
284289
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ use crate::{
2727 } ,
2828 time:: { TestTimeOptions , TimeThreshold } ,
2929} ;
30- use std:: any:: TypeId ;
3130use std:: sync:: mpsc:: channel;
3231use std:: time:: Duration ;
3332
@@ -198,6 +197,7 @@ fn test_should_panic_bad_message() {
198197#[ cfg( not( target_os = "emscripten" ) ) ]
199198fn test_should_panic_non_string_message_type ( ) {
200199 use crate :: tests:: TrFailedMsg ;
200+ use std:: any:: TypeId ;
201201 fn f ( ) {
202202 std:: panic:: panic_any ( 1i32 ) ;
203203 }
Original file line number Diff line number Diff line change 1- FROM ubuntu:16 .04
1+ FROM ubuntu:20 .04
22
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 \
44 g++ \
55 make \
66 ninja-build \
@@ -51,12 +51,6 @@ ENV EMCC_CFLAGS=-O1
5151# Emscripten installation is user-specific
5252ENV NO_CHANGE_USER=1
5353
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.
5655ENV 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