diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-25 03:18:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-25 03:18:06 +0100 |
| commit | 6806d0cf692edf9aa308cc841c81afbfc83c03bf (patch) | |
| tree | a7f6a7d6a44bcafa523052938587718261c4da15 /src/bootstrap | |
| parent | b5cf4ea07fd1a4e5541f47aa6d0b3f0bc709540c (diff) | |
| parent | 9a0b4b6705469e356a03fb7ea9522636492957c4 (diff) | |
| download | rust-6806d0cf692edf9aa308cc841c81afbfc83c03bf.tar.gz rust-6806d0cf692edf9aa308cc841c81afbfc83c03bf.zip | |
Rollup merge of #58704 - taiki-e:extern-crate, r=Centril
Remove some unnecessary 'extern crate' cc #58099 r? @Centril
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/bin/main.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/bin/sccache-plus-cl.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/lib.rs | 12 |
5 files changed, 0 insertions, 20 deletions
diff --git a/src/bootstrap/bin/main.rs b/src/bootstrap/bin/main.rs index 8ddce5c247d..0732cb83f39 100644 --- a/src/bootstrap/bin/main.rs +++ b/src/bootstrap/bin/main.rs @@ -7,8 +7,6 @@ #![deny(warnings)] -extern crate bootstrap; - use std::env; use bootstrap::{Config, Build}; diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 7a765973e20..b6afe317a07 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -17,8 +17,6 @@ #![deny(warnings)] -extern crate bootstrap; - use std::env; use std::ffi::OsString; use std::io; diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index aeb15821b0b..36beec3a944 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -4,8 +4,6 @@ #![deny(warnings)] -extern crate bootstrap; - use std::env; use std::process::Command; use std::path::PathBuf; diff --git a/src/bootstrap/bin/sccache-plus-cl.rs b/src/bootstrap/bin/sccache-plus-cl.rs index f9e14d1ff6d..f40eec83ddf 100644 --- a/src/bootstrap/bin/sccache-plus-cl.rs +++ b/src/bootstrap/bin/sccache-plus-cl.rs @@ -1,5 +1,3 @@ -extern crate cc; - use std::env; use std::process::{self, Command}; diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 6a93c95c3d9..2dceb30c4ad 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -114,23 +114,11 @@ extern crate build_helper; extern crate serde_derive; #[macro_use] extern crate lazy_static; -extern crate serde_json; -extern crate cmake; -extern crate filetime; -extern crate cc; -extern crate getopts; -extern crate num_cpus; -extern crate toml; -extern crate time; -extern crate petgraph; #[cfg(test)] #[macro_use] extern crate pretty_assertions; -#[cfg(unix)] -extern crate libc; - use std::cell::{RefCell, Cell}; use std::collections::{HashSet, HashMap}; use std::env; |
