Skip to content

Commit 1431c21

Browse files
committed
Remove some dead code from libcore
These macros are not required to glue the `core_arch` crate anymore.
1 parent d173180 commit 1431c21

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/libcore/lib.rs

-14
Original file line numberDiff line numberDiff line change
@@ -226,20 +226,6 @@ mod unit;
226226
// `core_arch` depends on libcore, but the contents of this module are
227227
// set up in such a way that directly pulling it here works such that the
228228
// crate uses the this crate as its libcore.
229-
#[allow(unused_macros)]
230-
macro_rules! test_v16 { ($item:item) => {}; }
231-
#[allow(unused_macros)]
232-
macro_rules! test_v32 { ($item:item) => {}; }
233-
#[allow(unused_macros)]
234-
macro_rules! test_v64 { ($item:item) => {}; }
235-
#[allow(unused_macros)]
236-
macro_rules! test_v128 { ($item:item) => {}; }
237-
#[allow(unused_macros)]
238-
macro_rules! test_v256 { ($item:item) => {}; }
239-
#[allow(unused_macros)]
240-
macro_rules! test_v512 { ($item:item) => {}; }
241-
#[allow(unused_macros)]
242-
macro_rules! vector_impl { ($([$f:ident, $($args:tt)*]),*) => { $($f!($($args)*);)* } }
243229
#[path = "../stdsimd/crates/core_arch/src/mod.rs"]
244230
#[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
245231
#[unstable(feature = "stdsimd", issue = "48556")]

0 commit comments

Comments
 (0)