Auto merge of #31570 - tomaka:ignore-emscripten, r=brson
Ignores 82 rpass tests that use threads. I took care to only ignore tests that call `thread::spawn`. Some tests, for example `issue-16597`, also do fail because of lack of threads support, but for other reasons. With this PR, we're down to 49 failures. r? @brson
This commit is contained in:
commit
7fc4df6d23
src/test/run-pass
atomic-print.rsbox-of-array-of-drop-1.rsbox-of-array-of-drop-2.rscci_capture_clause.rschild-outlives-parent.rscleanup-rvalue-temp-during-incomplete-alloc.rsclone-with-exterior.rscomm.rscore-run-destroy.rsdrop-flag-skip-sanity-check.rsextern-call-deep2.rsextern-call-scrub.rsfds-are-cloexec.rsforeign-call-no-runtime.rsinit-large-type.rsint-abs-overflow.rsintrinsic-move-val-cleanups.rsissue-13494.rsissue-16560.rsissue-16671.rsissue-21291.rsissue-22864-2.rsissue-25089.rsissue-26655.rsissue-29488.rsissue-30018-panic.rsissue-4446.rsissue-4448.rsissue-8460.rsissue-8827.rsissue-9396.rsivec-tag.rslogging-only-prints-once.rsmacro-with-braces-in-expr-position.rsmoves-based-on-type-capture-clause.rsnested-vec-3.rsno-landing-pads.rspanic-handler-flail-wildly.rspanic-handler-set-twice.rspanic-in-dtor-drops-fields.rspanic-recover-propagate.rsprocess-sigpipe.rsrust-log-filter.rssend-resource.rssendfn-spawn-with-fn-arg.rssepcomp-unwind.rsslice-panic-1.rsslice-panic-2.rsspawn-fn.rsspawn-types.rsspawn.rsspawn2.rsspawning-with-debug.rstask-comm-0.rstask-comm-1.rstask-comm-10.rstask-comm-11.rstask-comm-12.rstask-comm-13.rstask-comm-14.rstask-comm-15.rstask-comm-17.rstask-comm-3.rstask-comm-7.rstask-comm-9.rstask-life-0.rstask-spawn-move-and-copy.rstask-stderr.rstcp-stress.rsterminate-in-initializer.rsthreads.rstls-dtors-are-run-in-a-static-binary.rstls-init-on-init.rstrait-bounds-in-arc.rsunique-send-2.rsunit-like-struct-drop-run.rsunwind-resource.rsunwind-unique.rsvector-sort-panic-safe.rsweak-lang-item.rsyield.rsyield1.rs
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::{env, fmt, process, sync, thread};
|
||||
|
||||
struct SlowFmt(u32);
|
||||
|
@ -11,6 +11,8 @@
|
||||
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
|
||||
// destructor.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(const_fn)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -11,6 +11,8 @@
|
||||
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
|
||||
// destructor.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(const_fn)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -14,6 +14,7 @@
|
||||
// that use capture clauses.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
extern crate cci_capture_clause;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
// Reported as issue #126, child leaks the string.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
// It's unclear how likely such a bug is to recur, but it seems like a
|
||||
// scenario worth testing.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax, std_misc)]
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// ignore-pretty
|
||||
// compile-flags:--test
|
||||
// ignore-emscripten
|
||||
|
||||
// NB: These tests kill child processes. Valgrind sees these children as leaking
|
||||
// memory, which makes for some *confusing* logs. That's why these are here
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// compile-flags: -Z force-dropflag-checks=off
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Quick-and-dirty test to ensure -Z force-dropflag-checks=off works as
|
||||
// expected. Note that the inlined drop-flag is slated for removal
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(libc)]
|
||||
|
||||
extern crate libc;
|
||||
|
@ -12,6 +12,8 @@
|
||||
// make sure the stack pointers are maintained properly in both
|
||||
// directions
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(libc, std_misc)]
|
||||
|
||||
extern crate libc;
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// ignore-windows
|
||||
// ignore-android
|
||||
// ignore-emscripten
|
||||
|
||||
#![feature(libc)]
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-aarch64
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(libc)]
|
||||
|
||||
extern crate libc;
|
||||
|
@ -13,6 +13,7 @@
|
||||
// optimisation.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(intrinsics, std_misc)]
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// compile-flags: -Z force-overflow-checks=on
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// This test is checking that the move_val_init intrinsic is
|
||||
// respecting cleanups for both of its argument expressions.
|
||||
//
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// This test may not always fail, but it can be flaky if the race it used to
|
||||
// expose is still present.
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(unboxed_closures)]
|
||||
|
||||
|
@ -11,6 +11,8 @@
|
||||
// DON'T REENABLE THIS UNLESS YOU'VE ACTUALLY FIXED THE UNDERLYING ISSUE
|
||||
// ignore-android seems to block forever
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![forbid(warnings)]
|
||||
|
||||
// Pretty printing tests complain about `use std::predule::*`
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Regression test for unwrapping the result of `join`, issue #21291
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
pub fn main() {
|
||||
let f = || || 0;
|
||||
std::thread::spawn(f());
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
struct Foo(i32);
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(const_fn)]
|
||||
|
||||
// Check that the destructors of simple enums are run on unwinding
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
struct Foo;
|
||||
|
@ -13,6 +13,8 @@
|
||||
// spawned thread to isolate the expected error result from the
|
||||
// SIGTRAP injected by the drop-flag consistency checking.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
struct Foo;
|
||||
|
||||
impl Drop for Foo {
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::sync::mpsc::channel;
|
||||
use std::thread;
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::sync::mpsc::channel;
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(zero_one)]
|
||||
|
||||
use std::num::Zero;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::sync::mpsc::{TryRecvError, channel};
|
||||
use std::thread;
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-windows
|
||||
// ignore-emscripten no threads support
|
||||
// exec-env:RUST_LOG=debug
|
||||
|
||||
use std::cell::Cell;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
macro_rules! expr { ($e: expr) => { $e } }
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Test that using the `vec!` macro nested within itself works when
|
||||
// the contents implement Drop and we hit a panic in the middle of
|
||||
// construction.
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// compile-flags: -Z no-landing-pads
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
#![feature(panic_handler, std_panic)]
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::panic;
|
||||
use std::thread;
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
// except according to those terms.
|
||||
#![feature(panic_handler, const_fn, std_panic)]
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::panic;
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_panic, recover, panic_propagate, panic_handler, const_fn)]
|
||||
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
@ -18,6 +18,8 @@
|
||||
// (instead of running forever), and that it does not print an error
|
||||
// message about a broken pipe.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::process;
|
||||
use std::thread;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// exec-env:RUST_LOG=rust_log_filter/foo
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax, std_misc, rustc_private)]
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// ignore-bitrig
|
||||
// compile-flags: -C codegen-units=3
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Test unwinding through multiple compilation units.
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
||||
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
||||
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
fn x(s: String, n: isize) {
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
/*
|
||||
Make sure we can spawn tasks that take different types of
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
pub fn main() {
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
pub fn main() {
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// ignore-windows
|
||||
// exec-env:RUST_LOG=debug
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// regression test for issue #10405, make sure we don't call println! too soon.
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// no-pretty-expanded FIXME #15189
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
#![allow(dead_assignment)]
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax, std_misc)]
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(box_syntax, set_stdio)]
|
||||
|
||||
use std::io::prelude::*;
|
||||
|
@ -12,6 +12,7 @@
|
||||
// ignore-bitrig system ulimit (Too many open files)
|
||||
// ignore-netbsd system ulimit (Too many open files)
|
||||
// ignore-openbsd system ulimit (Too many open files)
|
||||
// ignore-emscripten no threads or sockets support
|
||||
|
||||
use std::io::prelude::*;
|
||||
use std::net::{TcpListener, TcpStream};
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Issue #787
|
||||
// Don't try to clean up uninitialized locals
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(std_misc)]
|
||||
|
||||
use std::thread;
|
||||
|
@ -9,6 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
// no-prefer-dynamic
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
static mut HIT: bool = false;
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(thread_local_state)]
|
||||
|
||||
use std::thread::{self, LocalKeyState};
|
||||
|
@ -11,6 +11,7 @@
|
||||
// Tests that a heterogeneous list of existential types can be put inside an Arc
|
||||
// and shared between threads as long as all types fulfill Send.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// ignore-pretty
|
||||
|
||||
#![allow(unknown_features)]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
// Make sure the destructor is run for unit-like structs.
|
||||
|
||||
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
use std::thread;
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(box_syntax)]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
#![feature(rand, num_bits_bytes)]
|
||||
#![feature(const_fn)]
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// aux-build:weak-lang-items.rs
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate weak_lang_items as other;
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
pub fn main() {
|
||||
|
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-emscripten no threads support
|
||||
|
||||
use std::thread;
|
||||
|
||||
pub fn main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user