Skip to content

Commit

Permalink
Remove some unnecessary 'extern crate'
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 24, 2019
1 parent e17c48e commit 9a0b4b6
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 25 deletions.
2 changes: 0 additions & 2 deletions src/bootstrap/bin/main.rs
Expand Up @@ -7,8 +7,6 @@

#![deny(warnings)]

extern crate bootstrap;

use std::env;

use bootstrap::{Config, Build};
Expand Down
2 changes: 0 additions & 2 deletions src/bootstrap/bin/rustc.rs
Expand Up @@ -17,8 +17,6 @@

#![deny(warnings)]

extern crate bootstrap;

use std::env;
use std::ffi::OsString;
use std::io;
Expand Down
2 changes: 0 additions & 2 deletions src/bootstrap/bin/rustdoc.rs
Expand Up @@ -4,8 +4,6 @@

#![deny(warnings)]

extern crate bootstrap;

use std::env;
use std::process::Command;
use std::path::PathBuf;
Expand Down
2 changes: 0 additions & 2 deletions src/bootstrap/bin/sccache-plus-cl.rs
@@ -1,5 +1,3 @@
extern crate cc;

use std::env;
use std::process::{self, Command};

Expand Down
12 changes: 0 additions & 12 deletions src/bootstrap/lib.rs
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/liballoc/benches/lib.rs
@@ -1,8 +1,6 @@
#![feature(repr_simd)]
#![feature(test)]

extern crate rand;
extern crate rand_xorshift;
extern crate test;

mod btree;
Expand Down
3 changes: 0 additions & 3 deletions src/liballoc/tests/lib.rs
Expand Up @@ -8,9 +8,6 @@
#![feature(unboxed_closures)]
#![feature(vecdeque_rotate)]

extern crate core;
extern crate rand;

use std::hash::{Hash, Hasher};
use std::collections::hash_map::DefaultHasher;

Expand Down

0 comments on commit 9a0b4b6

Please sign in to comment.