-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Revert SGX inline asm syntax #85054
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Revert SGX inline asm syntax #85054
Conversation
This was erroneously changed in rust-lang#83387
(rust-highfive has picked a reviewer for you, use r? to override) |
AT&T syntax was used to support LLVM 8 and 9. Now that the minimum supported LLVM is 10, intel syntax is being used everywhere. |
No, AT&T syntax was used as this is the standard for inline assembly. That LLVM 10 supports Intel syntax is not a reason to rewrite everything. |
The inline asm rfc chose intel syntax as default. That is why there is an https://rust-lang.github.io/rfcs/2873-inline-asm.html
|
The RFC merely describes the default behavior of the |
r? @Amanieu as you're familiar with it and may have some thoughts. |
It doesn't really matter either way, the end result is the same. I'll leave the asm style up to the discretion of the SGX target maintainers. @bors r+ rollup |
📌 Commit 5bbf8cf has been approved by |
Revert SGX inline asm syntax This was erroneously changed in rust-lang#83387
Rollup of 11 pull requests Successful merges: - rust-lang#85054 (Revert SGX inline asm syntax) - rust-lang#85182 (Move `available_concurrency` implementation to `sys`) - rust-lang#86037 (Add `io::Cursor::{remaining, remaining_slice, is_empty}`) - rust-lang#86114 (Reopen rust-lang#79692 (Format symbols under shared frames)) - rust-lang#86297 (Allow to pass arguments to rustdoc-gui tool) - rust-lang#86334 (Resolve type aliases to the type they point to in intra-doc links) - rust-lang#86367 (Fix comment about rustc_inherit_overflow_checks in abs().) - rust-lang#86381 (Add regression test for issue rust-lang#39161) - rust-lang#86387 (Remove `#[allow(unused_lifetimes)]` which is now unnecessary) - rust-lang#86398 (Add regression test for issue rust-lang#54685) - rust-lang#86493 (Say "this enum variant takes"/"this struct takes" instead of "this function takes") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Revert SGX inline asm syntax This was erroneously changed in rust-lang#83387
Rollup of 11 pull requests Successful merges: - rust-lang#85054 (Revert SGX inline asm syntax) - rust-lang#85182 (Move `available_concurrency` implementation to `sys`) - rust-lang#86037 (Add `io::Cursor::{remaining, remaining_slice, is_empty}`) - rust-lang#86114 (Reopen rust-lang#79692 (Format symbols under shared frames)) - rust-lang#86297 (Allow to pass arguments to rustdoc-gui tool) - rust-lang#86334 (Resolve type aliases to the type they point to in intra-doc links) - rust-lang#86367 (Fix comment about rustc_inherit_overflow_checks in abs().) - rust-lang#86381 (Add regression test for issue rust-lang#39161) - rust-lang#86387 (Remove `#[allow(unused_lifetimes)]` which is now unnecessary) - rust-lang#86398 (Add regression test for issue rust-lang#54685) - rust-lang#86493 (Say "this enum variant takes"/"this struct takes" instead of "this function takes") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This was erroneously changed in #83387