Convert all crates to 2018 edition (#1109)
This commit is contained in:
parent
1bce95c732
commit
b411a5c375
6 changed files with 4 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
|||
name = "assert-instr-macro"
|
||||
version = "0.1.0"
|
||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
name = "simd-test-macro"
|
||||
version = "0.1.0"
|
||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
name = "stdarch-test"
|
||||
version = "0.1.0"
|
||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
assert-instr-macro = { path = "../assert-instr-macro" }
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
@ -24,7 +22,7 @@ cfg_if! {
|
|||
use wasm::disassemble_myself;
|
||||
} else {
|
||||
mod disassembly;
|
||||
use disassembly::disassemble_myself;
|
||||
use crate::disassembly::disassemble_myself;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue