Convert all crates to 2018 edition (#1109)

This commit is contained in:
Joshua Nelson 2021-04-11 10:26:35 -04:00 committed by GitHub
parent 1bce95c732
commit b411a5c375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 8 deletions

View file

@ -2,6 +2,7 @@
name = "assert-instr-macro"
version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
[lib]
proc-macro = true

View file

@ -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;

View file

@ -2,6 +2,7 @@
name = "simd-test-macro"
version = "0.1.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
edition = "2018"
[lib]
proc-macro = true

View file

@ -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;

View file

@ -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" }

View file

@ -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;
}
}