Skip to content

Commit 3d97ca4

Browse files
committed
rustup: ? Remove queries.register_plugins()
I think this PR made it so that crate_types is already initialized? Not sure rust-lang/rust#114578
1 parent 8918a39 commit 3d97ca4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/mir-json-rustc-wrapper.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ impl rustc_driver::Callbacks for GetOutputPathCallbacks {
6565
let outputs = compiler.build_output_filenames(&sess, &krate.attrs);
6666
(crate_name, outputs)
6767
};
68-
// Advance the state slightly further, initializing crate_types()
69-
queries.register_plugins().unwrap();
7068
self.output_path = Some(rustc_session::output::out_filename(
7169
sess,
7270
sess.crate_types().first().unwrap().clone(),

0 commit comments

Comments
 (0)