Skip to content

Commit 7fe3664

Browse files
committed
compiletest: Don't look for Dylib if no-prefer-dynamic
Since it does not make sense to do so. If someone prefers no dynamic linking, it is much more likely that they want to link with a Lib instead.
1 parent c82d611 commit 7fe3664

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ impl<'test> TestCx<'test> {
14271427
} else if aux_type.is_some() {
14281428
panic!("aux_type {aux_type:?} not expected");
14291429
} else if aux_props.no_prefer_dynamic {
1430-
(AuxType::Dylib, None)
1430+
(AuxType::Lib, None)
14311431
} else if self.config.target.contains("emscripten")
14321432
|| (self.config.target.contains("musl")
14331433
&& !aux_props.force_host

0 commit comments

Comments
 (0)