mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
a29f341a8a
Add a codegen test for `slice::from_ptr_range` I noticed back in #95579 that this didn't optimize as well as it should. It's better now, after #95837 changed the code in `from_ptr_range` and https://github.com/llvm/llvm-project/issues/54824 was fixed in LLVM 15. So here's a test to keep it generating the good 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.