rust/src
bors 8ef2485bd5 Auto merge of #103812 - clubby789:improve-include-bytes, r=petrochenkov
Delay `include_bytes` to AST lowering

Hopefully addresses #65818.
This PR introduces a new `ExprKind::IncludedBytes` which stores the path and bytes of a file included with `include_bytes!()`. We can then create a literal from the bytes during AST lowering, which means we don't need to escape the bytes into valid UTF8 which is the cause of most of the overhead of embedding large binary blobs.
2022-11-12 14:30:34 +00:00
..
bootstrap Rollup merge of #104245 - kubycsolutions:master, r=jyn514 2022-11-11 20:51:42 +05:30
ci Rollup merge of #104245 - kubycsolutions:master, r=jyn514 2022-11-11 20:51:42 +05:30
doc Remove example code as it does not compile in CI 2022-11-12 10:09:13 +01:00
etc [debuginfo] Make debuginfo type names for slices and str consistent. 2022-10-31 15:43:44 +01:00
librustdoc Rollup merge of #104267 - notriddle:notriddle/checkbox, r=GuillaumeGomez 2022-11-12 12:02:53 +05:30
llvm-project@a1232c451f update LLVM submodule to make libunwind work on SGX 2022-11-06 15:33:00 +01:00
rustdoc-json-types rustdoc-json-types: Improve ItemSummary::path docs 2022-10-28 10:25:48 +01:00
test Auto merge of #103812 - clubby789:improve-include-bytes, r=petrochenkov 2022-11-12 14:30:34 +00:00
tools Auto merge of #103812 - clubby789:improve-include-bytes, r=petrochenkov 2022-11-12 14:30:34 +00:00
README.md
stage0.json
version Bump to 1.67.0 2022-10-29 10:28:52 -04:00

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

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

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