Ignore tests that use threads on emscripten
This commit is contained in:
parent
060848c315
commit
ee91c25b04
82 changed files with 129 additions and 2 deletions
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::{env, fmt, process, sync, thread};
|
use std::{env, fmt, process, sync, thread};
|
||||||
|
|
||||||
struct SlowFmt(u32);
|
struct SlowFmt(u32);
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
|
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
|
||||||
// destructor.
|
// destructor.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
|
// Test that we cleanup dynamic sized Box<[D]> properly when D has a
|
||||||
// destructor.
|
// destructor.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
// that use capture clauses.
|
// that use capture clauses.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
extern crate cci_capture_clause;
|
extern crate cci_capture_clause;
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// Reported as issue #126, child leaks the string.
|
// Reported as issue #126, child leaks the string.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
// It's unclear how likely such a bug is to recur, but it seems like a
|
// It's unclear how likely such a bug is to recur, but it seems like a
|
||||||
// scenario worth testing.
|
// scenario worth testing.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax, std_misc)]
|
#![feature(box_syntax, std_misc)]
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
// ignore-pretty
|
// ignore-pretty
|
||||||
// compile-flags:--test
|
// compile-flags:--test
|
||||||
|
// ignore-emscripten
|
||||||
|
|
||||||
// NB: These tests kill child processes. Valgrind sees these children as leaking
|
// 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
|
// memory, which makes for some *confusing* logs. That's why these are here
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// compile-flags: -Z force-dropflag-checks=off
|
// 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
|
// Quick-and-dirty test to ensure -Z force-dropflag-checks=off works as
|
||||||
// expected. Note that the inlined drop-flag is slated for removal
|
// 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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(libc)]
|
#![feature(libc)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
// make sure the stack pointers are maintained properly in both
|
// make sure the stack pointers are maintained properly in both
|
||||||
// directions
|
// directions
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(libc, std_misc)]
|
#![feature(libc, std_misc)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
// ignore-windows
|
// ignore-windows
|
||||||
// ignore-android
|
// ignore-android
|
||||||
|
// ignore-emscripten
|
||||||
|
|
||||||
#![feature(libc)]
|
#![feature(libc)]
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// ignore-aarch64
|
// ignore-aarch64
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(libc)]
|
#![feature(libc)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
// optimisation.
|
// optimisation.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(intrinsics, std_misc)]
|
#![feature(intrinsics, std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// compile-flags: -Z force-overflow-checks=on
|
// compile-flags: -Z force-overflow-checks=on
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// This test is checking that the move_val_init intrinsic is
|
// This test is checking that the move_val_init intrinsic is
|
||||||
// respecting cleanups for both of its argument expressions.
|
// respecting cleanups for both of its argument expressions.
|
||||||
//
|
//
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// 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
|
// This test may not always fail, but it can be flaky if the race it used to
|
||||||
// expose is still present.
|
// expose is still present.
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(unboxed_closures)]
|
#![feature(unboxed_closures)]
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
// DON'T REENABLE THIS UNLESS YOU'VE ACTUALLY FIXED THE UNDERLYING ISSUE
|
// DON'T REENABLE THIS UNLESS YOU'VE ACTUALLY FIXED THE UNDERLYING ISSUE
|
||||||
// ignore-android seems to block forever
|
// ignore-android seems to block forever
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![forbid(warnings)]
|
#![forbid(warnings)]
|
||||||
|
|
||||||
// Pretty printing tests complain about `use std::predule::*`
|
// Pretty printing tests complain about `use std::predule::*`
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Regression test for unwrapping the result of `join`, issue #21291
|
// Regression test for unwrapping the result of `join`, issue #21291
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
let f = || || 0;
|
let f = || || 0;
|
||||||
std::thread::spawn(f());
|
std::thread::spawn(f());
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
struct Foo(i32);
|
struct Foo(i32);
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
|
|
||||||
// Check that the destructors of simple enums are run on unwinding
|
// 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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
struct Foo;
|
struct Foo;
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
// spawned thread to isolate the expected error result from the
|
// spawned thread to isolate the expected error result from the
|
||||||
// SIGTRAP injected by the drop-flag consistency checking.
|
// SIGTRAP injected by the drop-flag consistency checking.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
struct Foo;
|
struct Foo;
|
||||||
|
|
||||||
impl Drop for Foo {
|
impl Drop for Foo {
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::sync::mpsc::channel;
|
use std::sync::mpsc::channel;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::sync::mpsc::channel;
|
use std::sync::mpsc::channel;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(zero_one)]
|
#![feature(zero_one)]
|
||||||
|
|
||||||
use std::num::Zero;
|
use std::num::Zero;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::sync::mpsc::{TryRecvError, channel};
|
use std::sync::mpsc::{TryRecvError, channel};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// ignore-windows
|
// ignore-windows
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// exec-env:RUST_LOG=debug
|
// exec-env:RUST_LOG=debug
|
||||||
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
macro_rules! expr { ($e: expr) => { $e } }
|
macro_rules! expr { ($e: expr) => { $e } }
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Test that using the `vec!` macro nested within itself works when
|
// Test that using the `vec!` macro nested within itself works when
|
||||||
// the contents implement Drop and we hit a panic in the middle of
|
// the contents implement Drop and we hit a panic in the middle of
|
||||||
// construction.
|
// construction.
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// compile-flags: -Z no-landing-pads
|
// compile-flags: -Z no-landing-pads
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
#![feature(panic_handler, std_panic)]
|
#![feature(panic_handler, std_panic)]
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::panic;
|
use std::panic;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
#![feature(panic_handler, const_fn, std_panic)]
|
#![feature(panic_handler, const_fn, std_panic)]
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||||
use std::panic;
|
use std::panic;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_panic, recover, panic_propagate, panic_handler, const_fn)]
|
#![feature(std_panic, recover, panic_propagate, panic_handler, const_fn)]
|
||||||
|
|
||||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
// (instead of running forever), and that it does not print an error
|
// (instead of running forever), and that it does not print an error
|
||||||
// message about a broken pipe.
|
// message about a broken pipe.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::process;
|
use std::process;
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// exec-env:RUST_LOG=rust_log_filter/foo
|
// exec-env:RUST_LOG=rust_log_filter/foo
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax, std_misc, rustc_private)]
|
#![feature(box_syntax, std_misc, rustc_private)]
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
// ignore-bitrig
|
// ignore-bitrig
|
||||||
// compile-flags: -C codegen-units=3
|
// compile-flags: -C codegen-units=3
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Test unwinding through multiple compilation units.
|
// Test unwinding through multiple compilation units.
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
// 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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Test that if a slicing expr[..] fails, the correct cleanups happen.
|
// 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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
fn x(s: String, n: isize) {
|
fn x(s: String, n: isize) {
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Make sure we can spawn tasks that take different types of
|
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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
// ignore-windows
|
// ignore-windows
|
||||||
// exec-env:RUST_LOG=debug
|
// exec-env:RUST_LOG=debug
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// regression test for issue #10405, make sure we don't call println! too soon.
|
// 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
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::sync::mpsc::{channel, Sender};
|
use std::sync::mpsc::{channel, Sender};
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::sync::mpsc::{channel, Sender};
|
use std::sync::mpsc::{channel, Sender};
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// no-pretty-expanded FIXME #15189
|
// no-pretty-expanded FIXME #15189
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
#![allow(dead_assignment)]
|
#![allow(dead_assignment)]
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax, std_misc)]
|
#![feature(box_syntax, std_misc)]
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(box_syntax, set_stdio)]
|
#![feature(box_syntax, set_stdio)]
|
||||||
|
|
||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
// ignore-bitrig system ulimit (Too many open files)
|
// ignore-bitrig system ulimit (Too many open files)
|
||||||
// ignore-netbsd system ulimit (Too many open files)
|
// ignore-netbsd system ulimit (Too many open files)
|
||||||
// ignore-openbsd 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::io::prelude::*;
|
||||||
use std::net::{TcpListener, TcpStream};
|
use std::net::{TcpListener, TcpStream};
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Issue #787
|
// Issue #787
|
||||||
// Don't try to clean up uninitialized locals
|
// Don't try to clean up uninitialized locals
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(std_misc)]
|
#![feature(std_misc)]
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// no-prefer-dynamic
|
// no-prefer-dynamic
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
static mut HIT: bool = false;
|
static mut HIT: bool = false;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(thread_local_state)]
|
#![feature(thread_local_state)]
|
||||||
|
|
||||||
use std::thread::{self, LocalKeyState};
|
use std::thread::{self, LocalKeyState};
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
// Tests that a heterogeneous list of existential types can be put inside an Arc
|
// 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.
|
// and shared between threads as long as all types fulfill Send.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// ignore-pretty
|
// ignore-pretty
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
// Make sure the destructor is run for unit-like structs.
|
// Make sure the destructor is run for unit-like structs.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::sync::mpsc::{channel, Sender};
|
use std::sync::mpsc::{channel, Sender};
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![allow(unknown_features)]
|
#![allow(unknown_features)]
|
||||||
#![feature(box_syntax)]
|
#![feature(box_syntax)]
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
#![feature(rand, num_bits_bytes)]
|
#![feature(rand, num_bits_bytes)]
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
// aux-build:weak-lang-items.rs
|
// aux-build:weak-lang-items.rs
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
// pretty-expanded FIXME #23616
|
// pretty-expanded FIXME #23616
|
||||||
|
|
||||||
extern crate weak_lang_items as other;
|
extern crate weak_lang_items as other;
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-emscripten no threads support
|
||||||
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
|
|
||||||
pub fn main() {
|
pub fn main() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue