Fix more minor typos#90086
Closed
noncombatant wants to merge 1 commit intorust-lang:masterfrom
noncombatant:patch-3
Closed
Fix more minor typos#90086noncombatant wants to merge 1 commit intorust-lang:masterfrom noncombatant:patch-3
noncombatant wants to merge 1 commit intorust-lang:masterfrom
noncombatant:patch-3
Conversation
Also, the Unsupported Register table should mention that LLVM reserves `rbx` (as noted in a previous PR I filed tonight.)
Contributor
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon. Please see the contribution instructions for more information. |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Member
sanxiyn
reviewed
Oct 20, 2021
| As a consequence, you should only use GNU assembler **numeric** [local labels] inside inline assembly code. Defining symbols in assembly code may lead to assembler and/or linker errors due to duplicate symbol definitions. | ||
|
|
||
| Moreover, on x86 when using the default intel syntax, due to [an llvm bug], you shouldn't use labels exclusively made of `0` and `1` digits, e.g. `0`, `11` or `101010`, as they may end up being interpreted as binary values. Using `options(att_syntax)` will avoid any ambiguity, but that affects the syntax of the _entire_ `asm!` block. | ||
| Moreover, on x86 when using the default Intel syntax, due to [an LLVM bug], you shouldn't use labels exclusively made of `0` and `1` digits, e.g. `0`, `11` or `101010`, as they may end up being interpreted as binary values. Using `options(att_syntax)` will avoid any ambiguity, but that affects the syntax of the _entire_ `asm!` block. (See [Options](#Options), below, for more on `options`.) |
Contributor
There was a problem hiding this comment.
Link should be to #options (lower case o).
Member
|
@noncombatant Are you still working on this PR? I am currently preparing the |
4 tasks
Contributor
Author
|
I don't have time, unfortunately. |
Amanieu
added a commit
to Amanieu/reference
that referenced
this pull request
Dec 9, 2021
Taken from rust-lang/rust#90086
Member
|
I've incorporated the fixes from this PR in rust-lang/reference#1105 and rust-lang/rust-by-example#1483. Thanks @noncombatant |
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.
Also, the Unsupported Register table should mention that LLVM reserves
rbx(as noted in a previous PR I filed tonight.)