File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,12 +144,16 @@ const UNSTABLE_OPTIONS: &[UnstableOption] = mutest_driver_cli::extend_const_slic
144144 // No mutest-driver-specific unstable options at the moment.
145145] ) ;
146146
147+ const BUG_REPORT_URL : & str = "https://github.com/zalanlevai/mutest-rs/issues/new" ;
148+
147149pub fn main ( ) {
148150 let early_dcx = EarlyDiagCtxt :: new ( ErrorOutputType :: default ( ) ) ;
149151 let mut args = rustc_driver:: args:: raw_args ( & early_dcx) ;
150152
151153 rustc_driver:: init_rustc_env_logger ( & early_dcx) ;
152154
155+ rustc_driver:: install_ice_hook ( BUG_REPORT_URL , |_dcx| { } ) ;
156+
153157 // NOTE: When being invoked by Cargo through RUSTC_WRAPPER / RUSTC_WORKSPACE_WRAPPER,
154158 // we are passed the path to rustc as the first argument.
155159 // This is ignored, since we are using rustc_driver directly to invoke the compiler.
You can’t perform that action at this time.
0 commit comments