rust/src
Matthias Krüger f75f440bbf
Rollup merge of #108022 - CraftSpider:align-bytes, r=oli-obk
Support allocations with non-Box<[u8]> bytes

This is prep work for allowing miri to support passing pointers to C code, which will require `Allocation`s to be correctly aligned. Currently, it just makes `Allocation` generic and plumbs the necessary changes through the right places.

The follow-up to this will be adding a type in the miri interpreter which correctly aligns the bytes, using that for the Miri engine, then allowing Miri to pass pointers into these allocations to C calls.

Based off of #100467, credit to ```@emarteca``` for the code
2023-03-02 23:05:27 +01:00
..
bootstrap Auto merge of #107879 - icedrocket:update-llvm, r=cuviper 2023-03-02 05:27:32 +00:00
ci Run compiler test suite in parallel on Fuchsia 2023-03-01 15:35:00 -05:00
doc Rollup merge of #108585 - djkoloski:parallel_fuchsia_test_runner, r=tmandry 2023-03-02 07:24:01 +01:00
etc Change src/etc/vscode_settings.json to always treat ./library as the sysroot source 2023-02-17 15:18:09 -06:00
librustdoc Rollup merge of #108143 - notriddle:notriddle/filter-exclamation-macro, r=GuillaumeGomez 2023-03-01 23:40:18 +05:30
llvm-project@fd949f3034 Update LLVM submodule 2023-02-10 17:00:09 +09:00
rustdoc-json-types Rustdoc-Json: Report discriminant on all kinds of enum variant. 2023-01-01 19:48:26 +00:00
tools Rollup merge of #108022 - CraftSpider:align-bytes, r=oli-obk 2023-03-02 23:05:27 +01:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Download rustc component for rustfmt toolchain as well 2023-01-31 10:29:33 -05:00
version Bump to 1.69.0 2023-01-20 18:06:54 -05:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

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