Merged
Conversation
…(use inout instead)
Closed
anp
reviewed
Jul 1, 2020
| ``` | ||
|
|
||
| Note that the `fn` or `static` item does not need to be public or `#[no_mangle]`: | ||
| the compiler will automatically insert the appropriate mangled symbol name into the assembly code. |
There was a problem hiding this comment.
Can you add another note here re: rust-lang/rust#73911 that #[track_caller] functions refer to an indirect shim?
|
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. The RFC will be merged soon. |
onehr
added a commit
to onehr/core-os-riscv
that referenced
this pull request
Jul 10, 2020
From [RFC 2873](rust-lang/rfcs#2873): > The existing `asm!` macro will be renamed to `llvm_asm!` to provide an easy way to maintain backwards-compatibility with existing code using inline asm.
Contributor
|
Huzzah! The @rust-lang/lang team has decided to accept this RFC. You can follow along at the following places:
|
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 25, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jlb6740
added a commit
to jlb6740/rust-precision
that referenced
this pull request
Jul 26, 2020
jedisct1
pushed a commit
to jedisct1/rust-precision
that referenced
this pull request
Jul 26, 2020
* Update inline assembly for x86 to support new syntax https://github.com/rust-lang/rfcs/blob/master/text/2843-llvm-asm.md rust-lang/rfcs#2873 * Add support for Arm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A redesigned
asm!macro, with a path to stabilization.Rendered
Implementation PR
This thread is a continuation of #2850, which has grown rather large. All of the feedback from the previous thread has been incorporated in the RFC.