Commit Graph

446 Commits (f17a018b9989430967d1c58e9a12c51169abc744)

Author SHA1 Message Date
Noah Snelson 1a79ab1920
Add "C" ABI to FFI example
3 months ago
Yuki Okushi aad0fd9046
Apply suggestions from code review
5 months ago
RoggeOhta ed039e48fe Fix space character problem
5 months ago
RoggeOhta 6be1fec00c Add build script part to FFI chapter for more clear and smooth learn experience
5 months ago
Yuki Okushi 24cb15d53b
Merge pull request #443 from ratmice/split_borrows_tree_example
5 months ago
matt rice 7aaad539e2 Cleanups for tree example of splitting borrows
5 months ago
Yuki Okushi 625d9de680 Update src/vec/vec-zsts.md
5 months ago
pwbh cbe78036f2 Update src/vec/vec-zsts.md
5 months ago
pwbh a85100bb99 remove comma
5 months ago
pwbh 761293eb43 remove duplication
5 months ago
pwbh 50d4aa6362 Revert "remove duplicate of a sentence"
5 months ago
pwbh e629930522 remove duplicate of a sentence
5 months ago
pwbh 6edd32bd97 Added text related to handling dropping in raw vec for ZSTs
5 months ago
Yuki Okushi 8b61acfaea
Merge pull request #492 from senekor/senekor-oupvrwkspumq
6 months ago
Yuki Okushi 0a000d437f
Merge pull request #491 from senekor/senekor-qslukqomvpom
6 months ago
Yuki Okushi dd31c8d397
Merge pull request #493 from senekor/senekor-rrqpxsznswmt
6 months ago
Remo Senekowitsch f883193311
Fix typo in atomics.md
7 months ago
Remo Senekowitsch b4c85a9d36
Use consistent type parameters in subtyping.md
7 months ago
Remo Senekowitsch 6f01103dbe
Use inline const expression in unchecked-uninit.md
7 months ago
Remo Senekowitsch 0733990409
Fix code sample output in unchecked-uninit.md
7 months ago
Travis Cross c76a20f0d9
Merge pull request #467 from mattheww/2024-10_zst_nullptr
8 months ago
Mats Jun Larsen 891932e3da
Remove double wording in opaque type chapter
8 months ago
Bennet Bleßmann 57bbc12176
remove `rust-intrinsic` ABI
8 months ago
printfn 60ed8f3bb9 Update to 2024 edition
9 months ago
Eric Huss 8f5c7322b6
Merge pull request #461 from RalfJung/repr-int-enum-abi
10 months ago
Yuki Okushi 336f75835a
Merge pull request #452 from pczarn/patch-1
10 months ago
Peter Blackson 7f59f3ffb3 Improve grammar in exotic-sizes
10 months ago
Yuki Okushi 1f3f7c4884
Merge pull request #460 from luqmana/repr-packed-n
10 months ago
Thiago Trannin 38f5394280 Use `()` instead of `[u8; 0]` in opaque type
10 months ago
Freddie 23cbc7d579 corrected grammatical error.
11 months ago
Eric Huss 3253190a90
Apply suggestion from RalfJung
11 months ago
Eric Huss 3de1d4efa4 Remove `#![start]` attribute
11 months ago
nikthechampiongr 470f2bfa52 Update guidance on uninitialized fields to use &raw mut instead of addr_of_mut!
11 months ago
Max Heller 0aae1972ff
Fix accidental inline HTML
11 months ago
Joseph C. Sible da27ec1906
Fix URL fragment to MutexGuard's negative impl of Send
12 months ago
Martin Nordholts 6855d3a7e1 races.md: data race -> race condition to violate memory safety
1 year ago
Yuki Okushi 0674321898
Merge pull request #468 from andersk/races-mostly
1 year ago
Tim McCormack 91a7128bb3
Fix typo in what-unsafe-does
1 year ago
Anders Kaseorg bb6b27ad1d races: Clarify a “mostly” that might be misread
1 year ago
Matthew Woodcraft db1fac783b Zero Sized Types: stop saying that "dereferencing" a non-ZST is UB
1 year ago
Matthew Woodcraft 2d896fa29e Say that dereferencing a pointer to a ZST is no longer undefined
1 year ago
Gurinder Singh f2ea02892a
Improve/fix description of drops
1 year ago
Luqman Aden 6120f45d99 Add details for n!=1 repr(packed)
1 year ago
Ralf Jung 33dd3a5fa4 other-reprs: do not make it sound like we are making ABI promises for repr(int) enums
1 year ago
Guillaume Boisseau d5ba0cb399 Stabilize `min_exhaustive_patterns`
1 year ago
Ralf Jung 16d2f21dae repr(int) enums: both size and sign matter
1 year ago
alimf17 1d0b6c122b
Update what-unsafe-does.md
1 year ago
Ben Kimock 462ac2d92c cfg out the extern crate libc on Windows
2 years ago
guqicun 8d96cc0685 chore: fix typo
2 years ago
Pure White f4add4be03
add link to reference about undefined behavior
2 years ago