Skip to content

Commit 45edd23

Browse files
authored
Rollup merge of #71456 - mzohreva:mz/sgx-no-dylib, r=nikomatsakis
Use lib crate type for SGX in `fn build_auxiliary` since SGX does not support `dylib` cc @Goirad
2 parents 0144bf6 + 7f13723 commit 45edd23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,6 +1750,7 @@ impl<'test> TestCx<'test> {
17501750
|| self.config.target.contains("wasm32")
17511751
|| self.config.target.contains("nvptx")
17521752
|| self.is_vxworks_pure_static()
1753+
|| self.config.target.contains("sgx")
17531754
{
17541755
// We primarily compile all auxiliary libraries as dynamic libraries
17551756
// to avoid code size bloat and large binaries as much as possible

0 commit comments

Comments
 (0)