Skip to content

Commit

Permalink
Convert all crates to 2018 edition (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 authored Apr 11, 2021
1 parent 09d2a2c commit c9019c2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions crates/assert-instr-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "assert-instr-macro"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[lib]
proc-macro = true
Expand Down
3 changes: 0 additions & 3 deletions crates/assert-instr-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
//! function itself contains the relevant instruction.
#![deny(rust_2018_idioms)]

extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
extern crate quote;
extern crate syn;

use proc_macro2::TokenStream;
use quote::ToTokens;
Expand Down
1 change: 1 addition & 0 deletions crates/simd-test-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "simd-test-macro"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[lib]
proc-macro = true
Expand Down
2 changes: 0 additions & 2 deletions crates/simd-test-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
//! for the appropriate cfg before calling the inner test function.
#![deny(rust_2018_idioms)]

extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
extern crate quote;

Expand Down
1 change: 1 addition & 0 deletions crates/stdarch-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "stdarch-test"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[dependencies]
assert-instr-macro = { path = "../assert-instr-macro" }
Expand Down
4 changes: 1 addition & 3 deletions crates/stdarch-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
#![deny(rust_2018_idioms)]
#![allow(clippy::missing_docs_in_private_items, clippy::print_stdout)]

extern crate assert_instr_macro;
#[macro_use]
extern crate lazy_static;
extern crate simd_test_macro;
#[macro_use]
extern crate cfg_if;

Expand All @@ -24,7 +22,7 @@ cfg_if! {
use wasm::disassemble_myself;
} else {
mod disassembly;
use disassembly::disassemble_myself;
use crate::disassembly::disassemble_myself;
}
}

Expand Down

0 comments on commit c9019c2

Please sign in to comment.