Skip to content

Commit 19b4bc6

Browse files
smaeulstrfry
authored andcommitted
runtest: Fix proc-macro tests on musl hosts
1 parent 7d21c49 commit 19b4bc6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,18 +1582,15 @@ impl<'test> TestCx<'test> {
15821582
None
15831583
} else if self.config.target.contains("cloudabi")
15841584
|| self.config.target.contains("emscripten")
1585-
|| (self.config.target.contains("musl") && !aux_props.force_host)
15861585
|| self.config.target.contains("wasm32")
15871586
{
15881587
// We primarily compile all auxiliary libraries as dynamic libraries
15891588
// to avoid code size bloat and large binaries as much as possible
15901589
// for the test suite (otherwise including libstd statically in all
15911590
// executables takes up quite a bit of space).
15921591
//
1593-
// For targets like MUSL or Emscripten, however, there is no support for
1594-
// dynamic libraries so we just go back to building a normal library. Note,
1595-
// however, that for MUSL if the library is built with `force_host` then
1596-
// it's ok to be a dylib as the host should always support dylibs.
1592+
// For targets like Emscripten, however, there is no support for
1593+
// dynamic libraries so we just go back to building a normal library.
15971594
Some("lib")
15981595
} else {
15991596
Some("dylib")

0 commit comments

Comments
 (0)