[WIP] Introduce repr(Swift) - #160729
Conversation
Squash of the following 8 commits Added Swift repr and callconv Implemented extern "Swift" and started repr(Swift) Also assert size_of and align_of Adjust ABI to account for Swift small structs Splat Swift structs' padding as well Renames and adjust core::mem primitives Fix build post-merge Correct SizedTypeProperties::SIZE x test
|
Some changes occurred in compiler/rustc_passes/src/check_attr.rs cc @jdonszelmann, @JonathanBrouwer
cc @bjorn3 These commits modify compiler targets. This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410
cc @rust-lang/wg-const-eval Some changes occurred to the CTFE machinery Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri Some changes occurred in compiler/rustc_hir/src/attrs |
|
Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
Why was this reviewer chosen?The reviewer was selected based on:
|
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Adds the
repr(Swift)attribute, allowing direct representation of Swift structs.Since rebasing on the latest main it probably doesn't compile anymore.
I'd like to gauge interest to see if it's worth my time to continue this.