diff options
| author | bors <bors@rust-lang.org> | 2025-06-02 19:35:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-02 19:35:39 +0000 |
| commit | 5d707b07e42766c080c5012869c9988a18dcbb83 (patch) | |
| tree | caec2d7b714f8329d50f170457f9a2859c9b44f8 /src/doc | |
| parent | 449c801783ecef2aad3ae03d6c9e4ac007de7d4b (diff) | |
| parent | 44ba2432527ef3f78973ad08672725ad72b50fc7 (diff) | |
Auto merge of #141912 - Kobzol:rollup-wurlnsx, r=Kobzol
Rollup of 5 pull requests Successful merges: - rust-lang/rust#141767 (ci: use free runner for aarch64-gnu-llvm-19-1 PR job) - rust-lang/rust#141858 (Fix typo in `StructuralPartialEq` docs) - rust-lang/rust#141865 (Optionally don't steal the THIR) - rust-lang/rust#141874 (add f16_epsilon and f128_epsilon diagnostic items) - rust-lang/rust#141904 (test-float-parse: apply `cfg(not(bootstrap))`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/no-steal-thir.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/no-steal-thir.md b/src/doc/unstable-book/src/compiler-flags/no-steal-thir.md new file mode 100644 index 00000000000..d83677d1711 --- /dev/null +++ b/src/doc/unstable-book/src/compiler-flags/no-steal-thir.md @@ -0,0 +1,7 @@ +# `no-steal-thir` + +By default, to save on memory, the THIR body (obtained from the `tcx.thir_body` query) is stolen +once no longer used. This is inconvenient for authors of rustc drivers who want to access the THIR. + +This option disables the stealing. This has no observable effect on compiler behavior, only on +memory usage. |
