Skip to content

Commit

Permalink
Remove redundant extern crate.
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Sep 7, 2024
1 parent 48ea6d0 commit 02c596e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions docs/dummyvm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
extern crate libc;
extern crate mmtk;

use std::sync::OnceLock;

use mmtk::vm::VMBinding;
Expand Down
5 changes: 0 additions & 5 deletions macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
extern crate proc_macro;
extern crate proc_macro_error;
extern crate quote;
extern crate syn;

use proc_macro::TokenStream;
use proc_macro_error::proc_macro_error;
use syn::parse_macro_input;
Expand Down
5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,10 @@
//! i.e. [the memory manager API](memory_manager/index.html) that allows a language's memory manager to use MMTk
//! and [the VMBinding trait](vm/trait.VMBinding.html) that allows MMTk to call the language implementation.

extern crate libc;
extern crate strum_macros;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate log;
extern crate atomic_traits;
extern crate crossbeam;
extern crate num_cpus;
#[macro_use]
extern crate downcast_rs;
#[macro_use]
Expand Down
2 changes: 0 additions & 2 deletions tests/test_address.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern crate mmtk;

use mmtk::util::Address;

#[test]
Expand Down

0 comments on commit 02c596e

Please sign in to comment.