-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inline-asm: Update for new style #623
inline-asm: Update for new style #623
Conversation
rust-lang/rust#73364 implemented support for providing multiple lines of assembly as separate arguments to `asm!`; update the blog post to use that new syntax, so that people who find it will use that style as an example.
(rust_highfive has picked a reviewer for you, use r? to override) |
cc @Amanieu |
@joshtriplett LGTM, should I wait for @Amanieu's review or should I just merge it? |
I don't think we should indent the asm code inside the strings (i.e. keep the labels and instructions on the same indent level). |
@Amanieu I don't have a strong preference, I just wanted to show the ability to do so. Happy to change it. |
You should update the playground link as well. |
@Amanieu Good catch, done. |
LGTM |
Thank you for your PR! |
* inline-asm: Update for new style rust-lang/rust#73364 implemented support for providing multiple lines of assembly as separate arguments to `asm!`; update the blog post to use that new syntax, so that people who find it will use that style as an example. * inline-asm: Outdent * inline asm: Update play link
rust-lang/rust#73364 implemented support for
providing multiple lines of assembly as separate arguments to
asm!
;update the blog post to use that new syntax, so that people who find it
will use that style as an example.