diff options
| author | bors <bors@rust-lang.org> | 2021-05-22 11:49:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-05-22 11:49:13 +0000 |
| commit | 104a3c3510bad05bc58af8f3c7b8947d04a8a3dd (patch) | |
| tree | 8916ed146899fd077c3f49bc34df07fd65514aa2 /compiler/rustc_codegen_llvm/src | |
| parent | 70cb58ce279444ac0191c4aa6df79becbaf2bdc1 (diff) | |
| parent | 7e42c975b9fec39a385fb27e3f1610721a9d5e86 (diff) | |
| download | rust-104a3c3510bad05bc58af8f3c7b8947d04a8a3dd.tar.gz rust-104a3c3510bad05bc58af8f3c7b8947d04a8a3dd.zip | |
Auto merge of #85557 - hyd-dev:abi, r=RalfJung
Add `rustc_mir::interpret::Machine::enforce_abi()` To specify whether to skip the [ABI](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/abi/enum.Abi.html) check for function calls, so that we could test unwinding out of a `extern "C"` function call in Miri by disabling the check: https://github.com/rust-lang/miri/pull/1776#discussion_r633698382 I have tested that it works in Miri with a `-Zmiri-disable-abi-check` command line flag.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
