File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ fn main() {
3131
3232 let mut cmd = Command :: new ( rustdoc) ;
3333
34- // I am not actually sure why it's necessary to pass the sysroot for `--test`,
35- // but `test --doc --stage 0` is broken without it :(
34+ // cfg(bootstrap)
35+ // NOTE: the `--test` special-casing can be removed when https://github.com/rust-lang/cargo/pull/10594 lands on beta.
3636 if target. is_some ( ) || args. iter ( ) . any ( |x| x == "--test" ) {
3737 // The stage0 compiler has a special sysroot distinct from what we
3838 // actually downloaded, so we just always pass the `--sysroot` option,
@@ -65,13 +65,6 @@ fn main() {
6565 }
6666 }
6767
68- // Needed to be able to run all rustdoc tests.
69- if let Some ( ref x) = env:: var_os ( "RUSTDOC_RESOURCE_SUFFIX" ) {
70- // This "unstable-options" can be removed when `--resource-suffix` is stabilized
71- cmd. arg ( "-Z" ) . arg ( "unstable-options" ) ;
72- cmd. arg ( "--resource-suffix" ) . arg ( x) ;
73- }
74-
7568 if verbose > 1 {
7669 eprintln ! (
7770 "rustdoc command: {:?}={:?} {:?}" ,
You can’t perform that action at this time.
0 commit comments