File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- 74c4821045c68d42bb8b8a7c998bdb5c2a72bd0d
1
+ c4190f2d3a46a59f435f7b42f58bc22b2f4d6917
Original file line number Diff line number Diff line change @@ -288,11 +288,10 @@ fn main() {
288
288
// (`install_ice_hook` might change `RUST_BACKTRACE`.)
289
289
let env_snapshot = env:: vars_os ( ) . collect :: < Vec < _ > > ( ) ;
290
290
291
- // Earliest rustc setup.
292
- rustc_driver:: install_ice_hook ( ) ;
293
-
294
291
// If the environment asks us to actually be rustc, then do that.
295
292
if let Some ( crate_kind) = env:: var_os ( "MIRI_BE_RUSTC" ) {
293
+ // Earliest rustc setup.
294
+ rustc_driver:: install_ice_hook ( rustc_driver:: DEFAULT_BUG_REPORT_URL , |_| ( ) ) ;
296
295
rustc_driver:: init_rustc_env_logger ( ) ;
297
296
298
297
let target_crate = if crate_kind == "target" {
@@ -311,6 +310,9 @@ fn main() {
311
310
)
312
311
}
313
312
313
+ // Add an ICE bug report hook.
314
+ rustc_driver:: install_ice_hook ( "https://github.com/rust-lang/miri/issues/new" , |_| ( ) ) ;
315
+
314
316
// Init loggers the Miri way.
315
317
init_early_loggers ( ) ;
316
318
You can’t perform that action at this time.
0 commit comments