File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ fn phase_cargo_miri(mut args: env::Args) {
572
572
// us in order to skip them.
573
573
cmd. env ( & host_runner_env_name, & cargo_miri_path) ;
574
574
575
- // Set rustdoc to us as well, so we can make it do nothing (see issue #584) .
575
+ // Set rustdoc to us as well, so we can run doctests .
576
576
cmd. env ( "RUSTDOC" , & cargo_miri_path) ;
577
577
578
578
// Run cargo.
@@ -784,18 +784,6 @@ fn phase_cargo_rustc(mut args: env::Args) {
784
784
}
785
785
}
786
786
787
- fn forward_patched_extern_arg ( args : & mut impl Iterator < Item = String > , cmd : & mut Command ) {
788
- cmd. arg ( "--extern" ) ; // always forward flag, but adjust filename:
789
- let path = args. next ( ) . expect ( "`--extern` should be followed by a filename" ) ;
790
- if let Some ( lib) = path. strip_suffix ( ".rlib" ) {
791
- // If this is an rlib, make it an rmeta.
792
- cmd. arg ( format ! ( "{}.rmeta" , lib) ) ;
793
- } else {
794
- // Some other extern file (e.g. a `.so`). Forward unchanged.
795
- cmd. arg ( path) ;
796
- }
797
- }
798
-
799
787
fn phase_cargo_runner ( binary : & Path , binary_args : env:: Args ) {
800
788
let verbose = std:: env:: var_os ( "MIRI_VERBOSE" ) . is_some ( ) ;
801
789
You can’t perform that action at this time.
0 commit comments