Skip to content
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

Reformat inline-assembly chapter as a spec chapter. #1523

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7f86242
Start reformat for inline-assembly chapter
chorman0773 Jun 19, 2024
72df943
Remove rule prefix from section header ids
chorman0773 Jul 2, 2024
5a75b51
Add [dynamic.asm.template] and [dynamic.asm.operands]
chorman0773 Jul 3, 2024
0397d44
Add dynamic.asm.options
chorman0773 Jul 4, 2024
2fdf1fb
Finish dynamic.asm.evaluation and dynamic.asm.directives
chorman0773 Jul 9, 2024
320b414
Format dynamic.asm.registers
chorman0773 Jul 9, 2024
80bf3cf
Format dynamic.asm.template
chorman0773 Jul 9, 2024
bf615a9
Add examples/tests to the inline-assembly chapter
chorman0773 Jul 9, 2024
6512bc6
Fix doc links in dynamic.asm.operands.types
chorman0773 Jul 9, 2024
2a9f58d
Edit styling of dynamic.asm and fix test failures
chorman0773 Jul 10, 2024
1d9770f
Merge branch 'master' into spec-reformat-asm
chorman0773 Jul 10, 2024
c3af3ca
Change chapter identifier to be `asm` rather than `dynamic.asm`
chorman0773 Jul 11, 2024
a82d8f9
Switch link for `__m128` and `__m256`
chorman0773 Jul 11, 2024
3563e5a
Remove colour from .target-specific
chorman0773 Jul 16, 2024
38d2dae
Fix inline assembly tests to be handled "properly" off of x86_64
chorman0773 Jul 16, 2024
a464e1a
Apply suggestions from PR Review
chorman0773 Jul 17, 2024
f69509b
Apply suggestions from code review
chorman0773 Jul 17, 2024
15db17f
Finish applying suggestions from PR review
chorman0773 Jul 17, 2024
b362778
Change wording for asm.safety note
chorman0773 Jul 18, 2024
3633034
Use `that` instead of `which` in asm.safety note
chorman0773 Jul 18, 2024
7a320d3
Fix global_asm tests to actually run
chorman0773 Jul 18, 2024
012d7f6
Use *asm block* and *global asm block* instead of "Expansion of [`cor…
chorman0773 Jul 18, 2024
f886a47
Fix extraneous `r` in "Template Modifiers" header
chorman0773 Jul 18, 2024
b6f4bbb
Apply suggestions from code review
chorman0773 Jul 18, 2024
88a3964
Fix code block formatting and use "fails to compile" instead of "ill-…
chorman0773 Jul 18, 2024
13884d0
Remove trailing spaces from markdown source lines
chorman0773 Jul 18, 2024
5c0e505
Don't link to a rule that does not yet exist
chorman0773 Jul 18, 2024
e2a7a47
Properly fix end of line spaces
chorman0773 Jul 18, 2024
457e1d6
Change link to inline-assembly.html to point to asm.evaluation
chorman0773 Jul 18, 2024
d59ad1f
Update src/inline-assembly.md
chorman0773 Jul 25, 2024
9b78523
Merge branch 'master' into spec-reformat-asm
chorman0773 Jul 25, 2024
90ef108
Remove added claims from inline-assembly document.
chorman0773 Jul 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/behavior-considered-undefined.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ Please read the [Rustonomicon] before writing unsafe code.

> **Note**: `rustc` achieves this with the unstable
> `rustc_layout_scalar_valid_range_*` attributes.
* Incorrect use of inline assembly. For more details, refer to the [rules] to
follow when writing code that uses inline assembly.
* Incorrect use of inline assembly. For more details, refer to [asm.evaluation] for the requirements that an inline assembly block must uphold
* **In [const context](const_eval.md#const-context)**: transmuting or otherwise
reinterpreting a pointer (reference, raw pointer, or function pointer) into
some allocated object as a non-pointer type (such as integers).
Expand Down Expand Up @@ -162,7 +161,6 @@ must never exceed `isize::MAX`.
[`NonNull<T>`]: ../core/ptr/struct.NonNull.html
[`NonZero*`]: ../core/num/index.html
[place expression context]: expressions.md#place-expressions-and-value-expressions
[rules]: inline-assembly.md#rules-for-inline-assembly
[points to]: #pointed-to-bytes
[pointed to]: #pointed-to-bytes
[offset]: ../std/primitive.pointer.html#method.offset
Expand Down
Loading