Skip to content

Commit 85208cf

Browse files
authored
Fix compile on latest nightly (#527)
The `proc_macro` feature has stabilized in the compiler and usage of it largely needs to switch to `use_extern_macros` now.
1 parent e0d129c commit 85208cf

File tree

6 files changed

+3
-9
lines changed

6 files changed

+3
-9
lines changed

crates/assert-instr-macro/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
//! `#[test]` function to the original token stream which asserts that the
99
//! function itself contains the relevant instruction.
1010
11-
#![feature(proc_macro)]
12-
1311
extern crate proc_macro;
1412
extern crate proc_macro2;
1513
#[macro_use]

crates/coresimd/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
)]
2121
#![cfg_attr(
2222
test,
23-
feature(proc_macro, test, attr_literals, abi_vectorcall, untagged_unions)
23+
feature(use_extern_macros, test, attr_literals, abi_vectorcall, untagged_unions)
2424
)]
2525
#![cfg_attr(
2626
feature = "cargo-clippy",

crates/simd-test-macro/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
//! This macro expands to a `#[test]` function which tests the local machine
44
//! for the appropriate cfg before calling the inner test function.
55
6-
#![feature(proc_macro)]
7-
86
extern crate proc_macro;
97
extern crate proc_macro2;
108
#[macro_use]

crates/stdsimd-test/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! output once globally and then provides the `assert` function which makes
55
//! assertions about the disassembly of a function.
66
7-
#![feature(proc_macro)]
7+
#![feature(use_extern_macros)]
88
#![cfg_attr(
99
feature = "cargo-clippy",
1010
allow(missing_docs_in_private_items, print_stdout)

crates/stdsimd-verify/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(proc_macro)]
2-
31
extern crate proc_macro;
42
extern crate proc_macro2;
53
#[macro_use]

crates/stdsimd-verify/tests/x86-intel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(proc_macro)]
1+
#![feature(use_extern_macros)]
22
#![allow(bad_style)]
33
#![cfg_attr(
44
feature = "cargo-clippy",

0 commit comments

Comments
 (0)