Commit Graph

104 Commits

Author SHA1 Message Date
Eric Huss 51817951d0
Merge pull request #1468 from petrochenkov/debmac
Add docs for `#[collapse_debuginfo]` attribute
2024-04-27 17:54:45 +00:00
Eric Huss 2d51a2aec4 Add an example of collapse_debuginfo 2024-04-27 10:53:08 -07:00
Eric Huss 5854fcc286
Merge pull request #1420 from daxpedda/wasm-target-feature-phase-4-5
Stabilize Wasm target features that are in phase 4 and 5
2024-04-21 13:47:07 +00:00
Eric Huss 585b9bcb72
Merge pull request #1491 from kpreid/neunit
Document how `non_exhaustive` interacts with tuple and unit-like structs.
2024-04-15 19:59:53 +00:00
Kevin Reid 076a798583 Replace “min()” visibility notation with English. 2024-04-15 11:13:52 -07:00
Kevin Reid ec0065fd92 Document how `non_exhaustive` interacts with tuple and unit-like structs. 2024-04-14 10:48:46 -07:00
Jamie Lokier b4311de691
Fix link to RISC-V Zkt spec; it was pointing to Zkr 2024-04-14 14:07:07 +01:00
Eric Huss 52874b8312 Update on_unimplemented for format string changes.
Updated in https://github.com/rust-lang/rust/pull/122402
2024-04-03 14:29:34 -07:00
Eric Huss 5e29b0135e Various fixes and editing. 2024-03-12 09:21:17 -07:00
Georg Semmler 99b19d92c1 Apply more review suggestions manually
Co-authored-by: Eric Huss <eric@huss.org>
2024-03-12 08:23:37 -07:00
Georg Semmler 5baf87cdd9 Apply suggestions from code review
Co-authored-by: Eric Huss <eric@huss.org>
2024-03-12 08:23:37 -07:00
Georg Semmler 81fe01a111 Add the `#[diagnostic]` attribute namespace and the
`#[diagnostic::on_unimplemented]` feature to the reference
2024-03-12 08:23:37 -07:00
Adam Gemmell db390b7cfe Update aarch64 target feature docs to match LLVM 2024-02-15 14:44:13 +00:00
Eric Huss 860fe4acc1 Use semantic line wrapping. 2024-02-14 10:18:40 -08:00
Eric Huss 4e9c91f0ec Place `rustc` behavior in a side note.
Generally the reference tries to stay focused on the language, and only
provide implementation notes as side-information.
2024-02-14 10:17:29 -08:00
Eric Huss 224b6c5306 Use em-dash separator 2024-02-14 10:16:40 -08:00
Eric Huss bb166095d1 Use standard template introducing an attribute. 2024-02-14 10:16:23 -08:00
Vadim Petrochenkov 0bf5d4e44c Add docs for `#[collapse_debuginfo]` attribute 2024-02-13 16:26:42 +03:00
daxpedda d035af92a1
Stabilize Wasm target features that are in phase 4 and 5 2023-11-01 00:19:00 +01:00
Gijs Burghoorn 5d015ebbb9 Doc: Add the RISC-V stabilized target features 2023-10-11 11:40:15 +02:00
Eric Huss 2a8068eaca
Merge pull request #1307 from Lokathor/patch-1
Clearly specify the `instruction_set` effects
2023-08-01 16:07:09 +00:00
Lokathor 188499dd6d
Update codegen.md 2023-06-27 13:10:11 -06:00
Lokathor a38bdf7e0f
Update src/attributes/codegen.md
Co-authored-by: Eric Huss <eric@huss.org>
2023-05-27 20:31:34 -06:00
Lokathor 236e01489c
Update src/attributes/codegen.md
Co-authored-by: Eric Huss <eric@huss.org>
2023-05-27 20:30:35 -06:00
Eric Huss f30520a1d7
Merge pull request #1335 from gibbyfree/natvis-doc
Add documentation for debugger_visualizer attribute
2023-05-22 10:17:33 -07:00
Eric Huss 39a0be6dc8 Updates and copy-edits for debugger_visualizer. 2023-05-06 10:25:55 -07:00
Eric Huss 689ef0581a
Merge pull request #1337 from ehuss/f16c
Document f16c target feature
2023-05-04 18:51:11 -07:00
Gibby Free 4dee364a2c fix compile errors in code snippets 2023-05-04 17:02:49 -07:00
Gibby Free 1c56d59ddd address pr comments 2023-05-04 17:02:49 -07:00
Gibby Free c3be903447 fix rustdoc failures 2023-05-04 17:02:49 -07:00
Gibby Free 2d45187862 fix style errors 2023-05-04 17:02:49 -07:00
Gibby Free 8db722e99b add details for GDB auto-load 2023-05-04 17:02:49 -07:00
Gibby Free e6f6ce8e17 add line 2023-05-04 17:02:49 -07:00
Gibby Free ed69dfa154 move to debugger page, modify style 2023-05-04 17:02:49 -07:00
Gibby Free 2749bce830 first pass for debugger_visualizer docs 2023-05-04 17:02:49 -07:00
Nabil Elqatib fc61be0f7e
Fix coding style: add space between module name and bracket 2023-04-06 13:17:41 +02:00
Eric Huss cec5aaf9bd Document f16c target feature 2023-03-03 16:33:19 -08:00
Caleb Zulawski f37b1c11fc Document movbe target feature 2023-03-02 19:32:23 -05:00
Nugine a6190a8041
Document `cmpxchg16b` target feature 2023-02-16 16:02:02 +08:00
Lokathor df9643a33c
Update codegen.md 2023-01-18 10:59:32 -07:00
Lokathor 3d45616386
Clearly specify the instruction_set inlining restrictions 2022-11-23 09:43:02 -07:00
Eric Huss 6a5431b863
Merge pull request #1253 from xd009642/doc/rfc2867
Document RFC 2867: instruction_set attribute
2022-11-16 17:47:58 -08:00
Eric Huss c47e316d96
Fix backtick 2022-11-16 17:44:56 -08:00
Ralf Jung f24b8d4ca7 merge unsafe-block and unsafe-function into one page 2022-09-28 17:31:50 +02:00
Smittyvb 328e227ea0
Use semver-compliant example version
Clippy warns if this version isn't semver-compliant.
2022-09-24 08:25:06 -04:00
BD103 ea7ba21c87
feat: do not specify not-equal at all
See https://github.com/rust-lang/reference/pull/1264#issuecomment-1239719515
2022-09-08 20:22:14 -04:00
BD103 e93265ab4e
feat: use default not-equal method 2022-09-06 14:18:22 -04:00
Matthew Woodcraft c126440392 Update examples of what implements `Termination` 2022-08-27 13:39:39 +01:00
xd009642 d27f43f4e2 Remove spaces at end of lines 2022-08-19 09:01:48 +01:00
xd009642 33e3271874 Apply ignore 2022-08-19 08:49:34 +01:00