File tree Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
#![ allow( clippy:: undocumented_unsafe_blocks) ]
4
4
#![ cfg_attr( feature = "alloc" , feature( allocator_api) ) ]
5
+ #![ cfg_attr( not( RUSTC_LINT_REASONS_IS_STABLE ) , feature( lint_reasons) ) ]
5
6
6
7
use core:: {
7
8
cell:: Cell ,
Original file line number Diff line number Diff line change 2
2
3
3
#![ allow( clippy:: undocumented_unsafe_blocks) ]
4
4
#![ cfg_attr( feature = "alloc" , feature( allocator_api) ) ]
5
+ #![ cfg_attr( not( RUSTC_LINT_REASONS_IS_STABLE ) , feature( lint_reasons) ) ]
5
6
#![ allow( clippy:: missing_safety_doc) ]
6
7
7
8
use core:: {
Original file line number Diff line number Diff line change 3
3
// inspired by <https://github.com/nbdd0121/pin-init/blob/trunk/examples/pthread_mutex.rs>
4
4
#![ allow( clippy:: undocumented_unsafe_blocks) ]
5
5
#![ cfg_attr( feature = "alloc" , feature( allocator_api) ) ]
6
+ #![ cfg_attr( not( RUSTC_LINT_REASONS_IS_STABLE ) , feature( lint_reasons) ) ]
7
+
6
8
#[ cfg( not( windows) ) ]
7
9
mod pthread_mtx {
8
10
#[ cfg( feature = "alloc" ) ]
Original file line number Diff line number Diff line change 2
2
3
3
#![ allow( clippy:: undocumented_unsafe_blocks) ]
4
4
#![ cfg_attr( feature = "alloc" , feature( allocator_api) ) ]
5
+ #![ cfg_attr( not( RUSTC_LINT_REASONS_IS_STABLE ) , feature( lint_reasons) ) ]
5
6
6
7
use core:: {
7
8
cell:: { Cell , UnsafeCell } ,
You can’t perform that action at this time.
0 commit comments