diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-28 17:55:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-28 17:55:44 +0200 |
| commit | 45edd238251cd2b9b8fc5e2c47ec2049c6d89945 (patch) | |
| tree | 770a6e1353f88c5790a18f6741701e3e29320118 | |
| parent | 0144bf6a8415628bd09b3fc300fd6e35629ffb6c (diff) | |
| parent | 7f1372347a3b2c6eb18a8d02df1871ead48b9ecb (diff) | |
| download | rust-45edd238251cd2b9b8fc5e2c47ec2049c6d89945.tar.gz rust-45edd238251cd2b9b8fc5e2c47ec2049c6d89945.zip | |
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
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index b2d47755336..63fd052a556 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1750,6 +1750,7 @@ impl<'test> TestCx<'test> { || self.config.target.contains("wasm32") || self.config.target.contains("nvptx") || self.is_vxworks_pure_static() + || self.config.target.contains("sgx") { // We primarily compile all auxiliary libraries as dynamic libraries // to avoid code size bloat and large binaries as much as possible |
