File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -518,16 +518,6 @@ fn in_cargo_miri() {
518
518
_ => continue ,
519
519
}
520
520
521
- let target = match get_arg_flag_value ( "--target" ) {
522
- Some ( target) => target,
523
- None => {
524
- let target = host_triple ( ) ;
525
- cmd. arg ( "--target" ) . arg ( & target) ;
526
- target
527
- }
528
- } ;
529
-
530
-
531
521
// Add user-defined args until first `--`.
532
522
while let Some ( arg) = args. next ( ) {
533
523
if arg == "--" {
@@ -537,8 +527,6 @@ fn in_cargo_miri() {
537
527
}
538
528
539
529
let args_vec: Vec < String > = args. collect ( ) ;
540
- cmd. env ( "MIRI_MAGIC_TARGET" , target. clone ( ) ) ;
541
- //cmd.env("MIRI_MAGIC_DIR", root_dir.clone());
542
530
cmd. env ( "MIRI_MAGIC_ARGS" , serde_json:: to_string ( & args_vec) . expect ( "failed to serialize args" ) ) ;
543
531
544
532
// Add `--` (to end the `cargo` flags), and then the user flags. We add markers around the
You can’t perform that action at this time.
0 commit comments