rust/src
Dylan DPC 81f3841cfb
Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obk
interpret: make read-pointer-as-bytes a CTFE-only error with extra information

Next step in the reaction to https://github.com/rust-lang/rust/issues/99923. Also teaches Miri to implicitly strip provenance in more situations when transmuting pointers to integers, which fixes https://github.com/rust-lang/miri/issues/2456.

Pointer-to-int transmutation during CTFE now produces a message like this:
```
   = help: this code performed an operation that depends on the underlying bytes representing a pointer
   = help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
```

r? ``@oli-obk``
2022-08-30 11:26:51 +05:30
..
bootstrap Remove RLS from macOS pkg and Windows msi installers. 2022-08-27 21:36:14 -07:00
ci Sunset RLS 2022-08-27 21:36:08 -07:00
doc
etc Rollup merge of #101106 - aDotInTheVoid:rdj-stripped-mod, r=GuillaumeGomez 2022-08-29 21:12:56 +02:00
librustdoc Auto merge of #101167 - matthiaskrgr:rollup-yt3jdmp, r=matthiaskrgr 2022-08-29 22:49:04 +00:00
llvm-project@e3be3f64ec
rustdoc-json-types
test Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obk 2022-08-30 11:26:51 +05:30
tools Auto merge of #101147 - weihanglo:update-cargo, r=Mark-Simulacrum 2022-08-29 16:04:11 +00:00
README.md Sunset RLS 2022-08-27 21:36:08 -07:00
stage0.json
version

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like cargo, miri, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.