diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-09-29 18:00:19 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-09-29 18:00:19 -0400 |
| commit | 6533c29bea5416c62c098f369553ed2b6c2c9eae (patch) | |
| tree | 892458e12e380eb2e03e39a73e6f45329f4f0fbe /src/bootstrap | |
| parent | 9e34b729647f44bfbbc361949b14b5bea65e4996 (diff) | |
| download | rust-6533c29bea5416c62c098f369553ed2b6c2c9eae.tar.gz rust-6533c29bea5416c62c098f369553ed2b6c2c9eae.zip | |
Remove --cfg dox from rustdoc.rs
This was added in https://github.com/rust-lang/rust/pull/53076 because several dependencies were using `cfg(dox)` instead of `cfg(rustdoc)`. I ran `rg 'cfg\(dox\)'` on the source tree with no matches, so I think this is now safe to remove.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index cb58eb89ad8..95c55ffe75a 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -24,14 +24,10 @@ fn main() { let mut dylib_path = bootstrap::util::dylib_path(); dylib_path.insert(0, PathBuf::from(libdir.clone())); - //FIXME(misdreavus): once stdsimd uses cfg(doc) instead of cfg(dox), remove the `--cfg dox` - //arguments here let mut cmd = Command::new(rustdoc); cmd.args(&args) .arg("--cfg") .arg(format!("stage{}", stage)) - .arg("--cfg") - .arg("dox") .arg("--sysroot") .arg(&sysroot) .env(bootstrap::util::dylib_path_var(), env::join_paths(&dylib_path).unwrap()); |
