about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-10-29 12:35:00 +0100
committerGitHub <noreply@github.com>2023-10-29 12:35:00 +0100
commit2b98ecd34520329aa4a5169ebc7daa381807aedb (patch)
treed0b46633b716c78713ceeb7b8e15eef396940d5e /compiler/rustc_mir_transform/src/coverage/query.rs
parent20debcd3450035b0e62f03060a1dd18bb3b41f54 (diff)
parentc094ba0be45b1d11fd906776b57ec5785b1ef284 (diff)
downloadrust-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