Closed
Description
The command ./x.py test --stage 0 src/libstd --no-doc
used to be a good way to test libstd without having to build a full compiler. However, it is currently broken:
Testing std stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Compiling rand_core v0.2.1
Compiling libc v0.2.43
Compiling rand v0.5.5
Compiling std v0.0.0 (/home/r/src/rust/rustc.2/src/libstd)
error: the #[global_allocator] in this crate conflicts with global allocator in: std
error: aborting due to previous error
error: Could not compile `std`.
To learn more, run the command again with --verbose.
command did not execute successfully: "/home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "test" "--target" "x86_64-unknown-linux-gnu" "-j" "8" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/r/src/rust/rustc.2/src/libstd/Cargo.toml" "--lib" "--bins" "--examples" "--tests" "--benches" "-p" "std" "--" "--quiet"
expected success, got: exit code: 101