Skip to content

Commit c465c75

Browse files
committed
Another unused feature fix
1 parent 2d2c552 commit c465c75

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

example/mini_core.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
rustc_attrs,
99
transparent_unions,
1010
auto_traits,
11-
freeze_impls,
12-
thread_local
11+
freeze_impls
1312
)]
13+
#![cfg_attr(not(all(windows, target_env = "gnu")), thread_local)]
1414
#![no_core]
1515
#![allow(dead_code, internal_features, ambiguous_wide_pointer_comparisons)]
1616

example/mini_core_hello_world.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![feature(no_core, lang_items, never_type, linkage, extern_types, thread_local, repr_simd)]
1+
#![feature(no_core, lang_items, never_type, extern_types, thread_local, repr_simd)]
2+
#![cfg_attr(not(any(jit, target_vendor = "apple", windows)), feature(linkage))]
23
#![no_core]
34
#![allow(dead_code, non_camel_case_types, internal_features)]
45

example/std_example.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
#![feature(
2-
core_intrinsics,
3-
coroutines,
4-
coroutine_trait,
5-
repr_simd,
6-
tuple_trait,
7-
unboxed_closures
8-
)]
1+
#![feature(core_intrinsics, coroutines, coroutine_trait, repr_simd, tuple_trait, unboxed_closures)]
92
#![allow(internal_features)]
103

114
#[cfg(target_arch = "x86_64")]

0 commit comments

Comments
 (0)