Optionally don't steal the THIR
This commit is contained in:
parent
9b0268a43b
commit
1e169d8dc4
5 changed files with 25 additions and 4 deletions
|
|
@ -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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue