Commit Graph

2943 Commits

Author SHA1 Message Date
Eric Huss ad09bb0675
Remove extra blank lines. 2023-11-04 10:18:23 -07:00
Eric Huss b8a39d3530
Merge pull request #1413 from RalfJung/nofence
some asm block flags also mean there can be no fences
2023-11-04 17:15:59 +00:00
Matthew Woodcraft 85cb1dc1bf tokens.md: Add <- to the Punctuation table 2023-11-01 22:10:55 +00:00
daxpedda d035af92a1
Stabilize Wasm target features that are in phase 4 and 5 2023-11-01 00:19:00 +01:00
Eric Huss 8947db0c1e
Merge pull request #1401 from joshlf/patch-2
Guarantee `char` layout
2023-10-30 19:07:58 +00:00
Eric Huss ec979dec38
Merge pull request #1415 from coastalwhite/stabilize-riscv-target-features
Doc: Add the RISC-V stabilized target features
2023-10-30 16:04:52 +00:00
Joshua Liebow-Feeser b3217718e4
Update operator-expr.md 2023-10-25 21:43:21 -07:00
Joshua Liebow-Feeser ed4811da2d
Update src/expressions/operator-expr.md
Co-authored-by: Niko Matsakis <niko@alum.mit.edu>
2023-10-25 21:42:18 -07:00
Ralf Jung c7690f13fc pure requires readonly or nomem 2023-10-17 21:06:09 +02:00
Eric Huss 16fd3c06d9
Merge pull request #1409 from compiler-errors/ref
Adjust reference for return-position `impl Trait` in trait and `async fn` in trait
2023-10-14 22:31:04 +00:00
Joshua Liebow-Feeser 2fe40f8ae5
Update operator-expr.md 2023-10-11 10:04:53 -07:00
Joshua Liebow-Feeser 6dc7d633c5
Update type-coercions.md 2023-10-11 09:08:09 -07:00
Joshua Liebow-Feeser b6089dda0e
Update operator-expr.md 2023-10-11 09:07:38 -07:00
Joshua Liebow-Feeser 8ce11062bc
Guarantee that raw pointer conversions preserve slice element count
This encodes the behavior agreed upon in https://github.com/rust-lang/unsafe-code-guidelines/issues/288.
2023-10-11 08:37:07 -07:00
matthewjasper 6e836c8718
Merge pull request #1416 from tczajka/fix_temporary_last_expression
Fix temporary drop scope for last expression.
2023-10-11 15:35:55 +00:00
Tomek Czajka a6d7cc36dc Fix temporary drop scope for last expression.
The outermost scope is "the entire function", not "the entire function body" which
is different.
2023-10-11 12:06:36 +02:00
Gijs Burghoorn 5d015ebbb9 Doc: Add the RISC-V stabilized target features 2023-10-11 11:40:15 +02:00
Ralf Jung fae136ca7e nomem, readonly also means no fences 2023-10-09 11:34:34 +02:00
Eric Huss 142b2ed77d
Merge pull request #1387 from RalfJung/raw-ptr-ub
replace 'UB on raw ptr deref' with UB on place projection/access
2023-10-07 19:41:21 +00:00
Ralf Jung 051d5d7440 explain place alignment 2023-10-07 08:20:38 +02:00
Ralf Jung b29823c3a9 replace 'UB on raw ptr deref' with UB on place projection/access 2023-10-07 08:20:38 +02:00
Michael Goulet d82c9ac405 Adjust for RPITIT and AFIT 2023-09-26 18:07:56 +00:00
Eric Huss 06db8fa56e
Merge pull request #1408 from ghoseb/patch-1
docs: Fix links to ECMA standards in `attributes.md`
2023-09-26 12:26:35 +00:00
Baishampayan Ghose 9d351cc1d8
docs: Fix links to ECMA standards in `attributes.md`
The links to the ECMA-334 and ECMA-335 were broken, I have updated those to working links.
2023-09-26 14:23:35 +05:30
Eric Huss 5262e1c3b4
Merge pull request #1397 from RalfJung/less-ub-in-the-future
we reserve the right to reduce our amount of UB
2023-09-18 18:28:31 +00:00
Ralf Jung 434bd02538 more wording tweaks 2023-09-12 21:02:26 +02:00
Joshua Liebow-Feeser 192178f936
Guarantee `char` layout 2023-09-11 16:26:40 -07:00
Eric Huss ee7c676fd6
Merge pull request #1392 from joshlf/joshlf-patch-1
Specify bit validity and padding of some types
2023-09-09 20:08:06 +00:00
Eric Huss cef4aafabd
Merge pull request #1399 from chrissimpkins/patch-1
implementations.md typo fix
2023-09-09 13:38:41 +00:00
Chris Simpkins b5ae8364e3
implementations.md typo fix
Minor typo fix
2023-09-09 09:26:54 -04:00
Joshua Liebow-Feeser 13b5af85c5
Update pointer.md 2023-09-06 14:51:37 -07:00
Joshua Liebow-Feeser ea1110b622
Apply suggestions from code review
Co-authored-by: Ralf Jung <post@ralfj.de>
2023-09-06 14:50:23 -07:00
Joshua Liebow-Feeser 746a359cca
Update type-layout.md 2023-08-28 15:48:44 -07:00
Joshua Liebow-Feeser 8f92a7d495
Update pointer.md 2023-08-28 15:48:33 -07:00
Joshua Liebow-Feeser 80ec1463a5
Update numeric.md 2023-08-28 11:13:11 -07:00
Joshua Liebow-Feeser 5795f3ad5d
Update textual.md 2023-08-28 11:13:07 -07:00
Joshua Liebow-Feeser d3a66eb698
Update boolean.md 2023-08-28 11:12:57 -07:00
Eric Huss effbdc1b05
Merge pull request #1396 from Centri3/repr-rust
Update section on default layout for `repr(Rust)`
2023-08-26 19:18:31 +00:00
Joshua Liebow-Feeser bbc8063811
Update type-layout.md 2023-08-21 13:57:34 -07:00
Joshua Liebow-Feeser 61c6349326
Update src/type-layout.md
Co-authored-by: Ralf Jung <post@ralfj.de>
2023-08-21 13:43:26 -07:00
Joshua Liebow-Feeser 2f82b7ff3b
Update type-layout.md 2023-08-19 13:43:48 -07:00
Joshua Liebow-Feeser 2e430462db
Update type-layout.md 2023-08-19 13:41:35 -07:00
Ralf Jung 629466d042 we reserve the right to reduce our amount of UB 2023-08-19 17:22:37 +02:00
Catherine Flores 9f9e7a70ff Add `the-default-representation` anchor 2023-08-17 16:22:22 -05:00
Catherine Flores c6d47447c8 Update `type-layout.md` for `repr(Rust)` 2023-08-17 15:48:05 -05:00
Eric Huss 3c36417885
Merge pull request #1395 from evanperrygrove-somewear/master
conditional-compilation.md: Mention the "none" target_os value
2023-08-16 16:59:33 +00:00
Evan Perry Grove c83f2ca026
Update conditional-compilation.md
Mention the "none" target_os value
2023-08-16 10:35:05 -05:00
Joshua Liebow-Feeser d1850ea36b
Clarify what `T` refers to 2023-08-14 12:57:52 -07:00
Eric Huss d43038932a
Merge pull request #1092 from DrMeepster/abi_thiscall
Document thiscall abi
2023-08-12 19:07:28 +00:00
DrMeepster 14587da93a add thiscall abi 2023-08-11 19:19:48 -07:00