rust/src
Jacob Pratt cb1ccc1842
Rollup merge of #127654 - nikic:llvm-ndebug-fix, r=cuviper
Fix incorrect NDEBUG handling in LLVM bindings

We currently compile our LLVM bindings using `-DNDEBUG` if debuginfo for LLVM is disabled. However, `NDEBUG` doesn't have any relation to debuginfo, it controls whether assertions are enabled.

Split the LLVM_NDEBUG environment variable into two, so that assertions and debuginfo are controlled independently.

After this change, `LLVMRustDIBuilderInsertDeclareAtEnd` triggers an assertion failure on LLVM 19 due to an incorrect cast. Fix it by removing the unused return value entirely.

r? `@cuviper`
2024-07-13 00:24:35 -04:00
..
bootstrap Rollup merge of #127654 - nikic:llvm-ndebug-fix, r=cuviper 2024-07-13 00:24:35 -04:00
ci Rollup merge of #127613 - nikic:riscv-update, r=cuviper 2024-07-12 14:38:00 +02:00
doc Auto merge of #123351 - beetrees:x86-ret-snan-rust, r=nikic,workingjubilee 2024-07-12 20:36:43 +00:00
etc Auto merge of #127001 - beetrees:f16-debuginfo, r=michaelwoerister 2024-07-09 09:07:42 +00:00
librustdoc Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
llvm-project@c54cff0e6e Update LLVM submodule 2024-07-05 22:06:57 +08:00
rustdoc-json-types Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
tools Rollup merge of #127632 - compiler-errors:precise-capturing-rustdoc, r=fmease 2024-07-12 13:47:10 -07:00
README.md
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02: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.