diff options
| author | bors <bors@rust-lang.org> | 2024-05-06 00:55:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-06 00:55:49 +0000 |
| commit | 80420a693f89ce4201a8e43b8d5191c7ee0fa368 (patch) | |
| tree | 10ac18b97f85af04ae0eecdd89209224ee46021c /compiler/rustc_codegen_llvm/src | |
| parent | 3170bd9d1bab03eeb15552686f2de84e75360e56 (diff) | |
| parent | ed532cc186a651a3e4b848ffbef8c080018f1732 (diff) | |
| download | rust-80420a693f89ce4201a8e43b8d5191c7ee0fa368.tar.gz rust-80420a693f89ce4201a8e43b8d5191c7ee0fa368.zip | |
Auto merge of #124747 - MasterAwesome:master, r=davidtwco
Support Result<T, E> across FFI when niche optimization can be used (v2) This PR is identical to #122253, which was approved and merged but then removed from master by a force-push due to a [CI bug](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/ci.20broken.3F). r? ghost Original PR description: --- Allow allow enums like `Result<T, E>` to be used across FFI if the T/E can be niche optimized and the non-niche-optimized type is FFI safe. Implementation of https://github.com/rust-lang/rfcs/pull/3391 Tracking issue: https://github.com/rust-lang/rust/issues/110503 Additional ABI and codegen tests were added in https://github.com/rust-lang/rust/pull/115372
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
