diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-06-02 15:19:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 15:19:19 +0200 |
| commit | f8e756b0eb5a6ed95d888e4c2429aae5eaca9126 (patch) | |
| tree | 7c586e47f66579469778018c45b6a943bcd249b0 /compiler/rustc_interface/src | |
| parent | aeb72a0669fda604b63ad43c924b93503646970a (diff) | |
| parent | 1e169d8dc406ff2eb5cd38b35053e2f50cbb0f54 (diff) | |
| download | rust-f8e756b0eb5a6ed95d888e4c2429aae5eaca9126.tar.gz rust-f8e756b0eb5a6ed95d888e4c2429aae5eaca9126.zip | |
Rollup merge of #141865 - Nadrieril:dont-steal-thir, r=oli-obk
Optionally don't steal the THIR The THIR being stolen is a recurrent pain for authors of rustc drivers. This makes it optional, so that the `thir_body` query can still be used after analysis of the crate has completed.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 068d96c860f..558f13a832c 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -715,6 +715,7 @@ fn test_unstable_options_tracking_hash() { untracked!(no_analysis, true); untracked!(no_leak_check, true); untracked!(no_parallel_backend, true); + untracked!(no_steal_thir, true); untracked!(parse_crate_root_only, true); // `pre_link_arg` is omitted because it just forwards to `pre_link_args`. untracked!(pre_link_args, vec![String::from("abc"), String::from("def")]); |
