rust/src
Matthias Krüger 96195a5e24
Rollup merge of #130342 - RalfJung:slice-idx-overflow, r=saethlin
interpret, miri: fix dealing with overflow during slice indexing and allocation

This is mostly to fix https://github.com/rust-lang/rust/issues/130284.

I then realized we're using somewhat sketchy arguments for a similar multiplication in `copy`/`copy_nonoverlapping`/`write_bytes`,  so I made them all share the same function that checks exactly the right thing. (The intrinsics would previously fail on allocations larger than `1 << 47` bytes... which are theoretically possible maybe? Anyway it seems conceptually wrong to use any other bound than `isize::MAX` here.)
2024-09-15 16:01:38 +02:00
..
bootstrap add change entry for dist.vendor 2024-09-15 12:24:07 +03:00
ci Auto merge of #129974 - cuviper:ci-llvm-19, r=Mark-Simulacrum 2024-09-14 18:44:23 +00:00
doc trait_upcasting is not currently an incomplete feature. 2024-09-14 14:46:29 -07:00
etc Remove unused option from x.py 2024-09-07 10:35:23 +05:30
gcc@fd3498bff0 Update GCC version 2024-09-06 16:01:46 +02:00
librustdoc Rename and reorder lots of lifetimes. 2024-09-13 15:46:20 +10:00
llvm-project@4b8d29c585 Update LLVM to 19 327ca6c 2024-09-11 07:59:27 +08:00
rustdoc-json-types rustdoc: normalise type/field names in rustdoc-json-types/jsondoclint 2024-09-01 23:58:08 +03:00
tools Rollup merge of #130342 - RalfJung:slice-idx-overflow, r=saethlin 2024-09-15 16:01:38 +02:00
README.md
stage0 bump stage0 2024-09-04 03:13:55 +01:00
version Bump to 1.83 2024-08-30 19:58:04 +01: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.