Skip to content

Commit 17df573

Browse files
committed
Test fixes from rollup
Closes #14231 (mk: Don't run benchmarks with `make check`) Closes #14215 (std: Modify TempDir to not fail on drop. Closes #12628) Closes #14211 (rustdoc: functions in ffi blocks are unsafe) Closes #14210 (Make Vec.truncate() resilient against failure in Drop) Closes #14208 (Make `from_bits` in `bitflags!` safe; add `from_bits_truncate`) Closes #14206 (Register new snapshots) Closes #14205 (use sched_yield on linux and freebsd) Closes #14204 (Add a crate for missing stubs from libcore) Closes #14203 (shootout-mandelbrot: Either 10-20% or 80-100% improvement.) Closes #14202 (Add flow-graph visualization (via graphviz) to rustc) Closes #14201 (Render not_found with an absolute path to the rust stylesheet) Closes #14200 (std cleanup) Closes #14189 (Implement cell::clone_ref)
1 parent 9c35ac5 commit 17df573

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/libgreen/sched.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,6 @@ mod test {
11371137
fn test_schedule_home_states() {
11381138
use sleeper_list::SleeperList;
11391139
use super::{Shutdown, Scheduler, SchedHandle};
1140-
use std::unstable::Thread;
11411140
use std::rt::thread::Thread;
11421141
use std::sync::deque::BufferPool;
11431142

src/librustuv/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ fn local_loop() -> &'static mut uvio::UvIoFactory {
472472
#[cfg(test)]
473473
mod test {
474474
use std::mem::transmute;
475-
use std::rt::Thread;
475+
use std::rt::thread::Thread;
476476

477477
use super::{slice_to_uv_buf, Loop};
478478

src/librustuv/uvio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use std::rt::rtio;
2727
use std::rt::rtio::{ProcessConfig, IoFactory, EventLoop};
2828
use ai = std::io::net::addrinfo;
2929

30-
#[cfg(test)] use std::rt::Thread;
30+
#[cfg(test)] use std::rt::thread::Thread;
3131

3232
use super::{uv_error_to_io_error, Loop};
3333

0 commit comments

Comments
 (0)