mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 22:18:23 +03:00
Merge pull request #560 from RalfJung/libstd-features
build libstd with minimal features
This commit is contained in:
@@ -155,6 +155,9 @@ fn setup(ask_user: bool) {
|
||||
File::create(dir.join("Xargo.toml")).unwrap()
|
||||
.write_all(br#"
|
||||
[dependencies.std]
|
||||
default_features = false
|
||||
# We need the `panic_unwind` feature because we use the `unwind` panic strategy.
|
||||
# Using `abort` works for libstd, but then libtest will not compile.
|
||||
features = ["panic_unwind"]
|
||||
|
||||
[dependencies.test]
|
||||
|
||||
Reference in New Issue
Block a user