Skip to content

Commit d50b093

Browse files
authored
Merge pull request #694 from tgross35/feature-cleanup
Remove unneeded features
2 parents 40015f2 + 0fc4cdd commit d50b093

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

examples/intrinsics.rs

-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
// to link due to the missing intrinsic (symbol).
55

66
#![allow(unused_features)]
7-
#![allow(stable_features)] // bench_black_box feature is stable, leaving for backcompat
87
#![allow(internal_features)]
98
#![cfg_attr(thumb, no_main)]
109
#![deny(dead_code)]
1110
#![feature(allocator_api)]
12-
#![feature(bench_black_box)]
1311
#![feature(f128)]
1412
#![feature(f16)]
1513
#![feature(lang_items)]

src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
#![cfg_attr(feature = "compiler-builtins", compiler_builtins)]
2-
#![cfg_attr(not(feature = "no-asm"), feature(asm))]
32
#![feature(abi_unadjusted)]
43
#![feature(asm_experimental_arch)]
5-
#![cfg_attr(not(feature = "no-asm"), feature(global_asm))]
64
#![feature(cfg_target_has_atomic)]
75
#![feature(compiler_builtins)]
8-
#![feature(core_ffi_c)]
96
#![feature(core_intrinsics)]
10-
#![feature(inline_const)]
11-
#![feature(lang_items)]
127
#![feature(linkage)]
138
#![feature(naked_functions)]
149
#![feature(repr_simd)]
15-
#![feature(c_unwind)]
1610
#![cfg_attr(f16_enabled, feature(f16))]
1711
#![cfg_attr(f128_enabled, feature(f128))]
1812
#![no_builtins]

testcrate/tests/aeabi_memclr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
feature = "mem"
66
))]
77
#![feature(compiler_builtins_lib)]
8-
#![feature(lang_items)]
98
#![no_std]
109

1110
extern crate compiler_builtins;

testcrate/tests/aeabi_memcpy.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
feature = "mem"
66
))]
77
#![feature(compiler_builtins_lib)]
8-
#![feature(lang_items)]
98
#![no_std]
109

1110
extern crate compiler_builtins;

testcrate/tests/aeabi_memset.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
feature = "mem"
66
))]
77
#![feature(compiler_builtins_lib)]
8-
#![feature(lang_items)]
98
#![no_std]
109

1110
extern crate compiler_builtins;

0 commit comments

Comments
 (0)