File tree 5 files changed +1
-33
lines changed
unix/bsd/freebsdlike/dragonfly
5 files changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ const ALLOWED_CFGS: &'static [&'static str] = &[
16
16
"libc_const_extern_fn" ,
17
17
"libc_const_extern_fn_unstable" ,
18
18
"libc_deny_warnings" ,
19
- "libc_thread_local" ,
20
19
] ;
21
20
22
21
// Extra values to allow for check-cfg.
@@ -65,11 +64,6 @@ fn main() {
65
64
set_cfg ( "libc_deny_warnings" ) ;
66
65
}
67
66
68
- // #[thread_local] is currently unstable
69
- if rustc_dep_of_std {
70
- set_cfg ( "libc_thread_local" ) ;
71
- }
72
-
73
67
// Rust >= 1.62.0 allows to use `const_extern_fn` for "Rust" and "C".
74
68
if rustc_minor_ver >= 62 {
75
69
set_cfg ( "libc_const_extern_fn" ) ;
Original file line number Diff line number Diff line change @@ -67,12 +67,7 @@ fn do_ctest() {
67
67
}
68
68
69
69
fn ctest_cfg ( ) -> ctest:: TestGenerator {
70
- let mut cfg = ctest:: TestGenerator :: new ( ) ;
71
- let libc_cfgs = [ "libc_thread_local" ] ;
72
- for f in & libc_cfgs {
73
- cfg. cfg ( f, None ) ;
74
- }
75
- cfg
70
+ ctest:: TestGenerator :: new ( )
76
71
}
77
72
78
73
fn do_semver ( ) {
Original file line number Diff line number Diff line change 16
16
#![ cfg_attr( libc_deny_warnings, deny( warnings) ) ]
17
17
// Attributes needed when building as part of the standard library
18
18
#![ cfg_attr( feature = "rustc-dep-of-std" , feature( link_cfg, no_core) ) ]
19
- #![ cfg_attr( libc_thread_local, feature( thread_local) ) ]
20
19
// Enable extra lints:
21
20
#![ cfg_attr( feature = "extra_traits" , deny( missing_debug_implementations) ) ]
22
21
#![ deny( missing_copy_implementations, safe_packed_borrows) ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1723,10 +1723,3 @@ extern "C" {
1723
1723
entry : vm_map_entry_t ,
1724
1724
) -> vm_map_entry_t ;
1725
1725
}
1726
-
1727
- cfg_if ! {
1728
- if #[ cfg( libc_thread_local) ] {
1729
- mod errno;
1730
- pub use self :: errno:: * ;
1731
- }
1732
- }
You can’t perform that action at this time.
0 commit comments