diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-10-29 12:35:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-29 12:35:00 +0100 |
| commit | 2b98ecd34520329aa4a5169ebc7daa381807aedb (patch) | |
| tree | d0b46633b716c78713ceeb7b8e15eef396940d5e /compiler/rustc_mir_transform/src/coverage/query.rs | |
| parent | 20debcd3450035b0e62f03060a1dd18bb3b41f54 (diff) | |
| parent | c094ba0be45b1d11fd906776b57ec5785b1ef284 (diff) | |
| download | rust-2b98ecd34520329aa4a5169ebc7daa381807aedb.tar.gz rust-2b98ecd34520329aa4a5169ebc7daa381807aedb.zip | |
Rollup merge of #117082 - fortanix:raoul/fix_closure_inherit_target_feature_sgx, r=Mark-Simulacrum
Fix closure-inherit-target-feature test for SGX platform PR #116078 adds the `closure-inherit-target-feature.rs` test that checks the generated assembly code for closures. These checks explicitly check the presence of `ret` instructions. This is incompatible with the SGX target as it explicitly rewrites all `ret` instructions to mitigate LVI vulnerabilities of certain processors. This PR simply ignores these tests for the SGX platform. cc: ```@jethrogb```
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions
