diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-02-06 22:45:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 22:45:42 +0100 |
| commit | 59ba8024af9d216b2831b0b3e375084868fa5c23 (patch) | |
| tree | e7afaa7bbe36b3e6a8da4a211d1e456b82d2e1ba /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0a4702d0117c91db70724a672b54da483030c4b2 (diff) | |
| parent | 73313158988c20b57a341502b4099629b6867755 (diff) | |
| download | rust-59ba8024af9d216b2831b0b3e375084868fa5c23.tar.gz rust-59ba8024af9d216b2831b0b3e375084868fa5c23.zip | |
Rollup merge of #120502 - clubby789:remove-ffi-returns-twice, r=compiler-errors
Remove `ffi_returns_twice` feature The [tracking issue](https://github.com/rust-lang/rust/issues/58314) and [RFC](https://github.com/rust-lang/rfcs/pull/2633) have been closed for a couple of years. There is also an attribute gate in R-A which should be removed if this lands.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 0df7b7eed11..a2dfebec594 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -250,8 +250,6 @@ static Attribute::AttrKind fromRust(LLVMRustAttribute Kind) { return Attribute::NonLazyBind; case OptimizeNone: return Attribute::OptimizeNone; - case ReturnsTwice: - return Attribute::ReturnsTwice; case ReadNone: return Attribute::ReadNone; case SanitizeHWAddress: |
