diff options
| author | Mateusz Mikuła <matti@marinelayer.io> | 2019-05-02 17:22:14 +0200 |
|---|---|---|
| committer | Mateusz Mikuła <mati865@gmail.com> | 2019-05-10 16:12:47 +0200 |
| commit | f74debbe7d2bf43171270d5f3f5b42f2cc2e6243 (patch) | |
| tree | 88f5daa4edb5816aff2bfe8b3cc6875d73bb83c4 /src/bootstrap | |
| parent | 0ac53da03dad79655e2f3e65a58f94a2f3314d5f (diff) | |
| download | rust-f74debbe7d2bf43171270d5f3f5b42f2cc2e6243.tar.gz rust-f74debbe7d2bf43171270d5f3f5b42f2cc2e6243.zip | |
Make tests compatible with musl host
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index a3d96836aad..9867113e48f 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1870,6 +1870,10 @@ impl Step for CrateRustdoc { cargo.arg("--"); cargo.args(&builder.config.cmd.test_args()); + if self.host.contains("musl") { + cargo.arg("'-Ctarget-feature=-crt-static'"); + } + if !builder.config.verbose_tests { cargo.arg("--quiet"); } |
