File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 128128#![ feature( trusted_len) ]
129129#![ feature( unboxed_closures) ]
130130#![ feature( unicode_internals) ]
131- #![ feature( unsafe_block_in_unsafe_fn) ]
131+ #![ cfg_attr ( bootstrap , feature( unsafe_block_in_unsafe_fn) ) ]
132132#![ feature( unsize) ]
133133#![ feature( unsized_fn_params) ]
134134#![ feature( allocator_internals) ]
Original file line number Diff line number Diff line change 162162#![ feature( const_caller_location) ]
163163#![ feature( slice_ptr_get) ]
164164#![ feature( no_niche) ] // rust-lang/rust#68303
165- #![ feature( unsafe_block_in_unsafe_fn) ]
166165#![ feature( int_error_matching) ]
166+ #![ cfg_attr( bootstrap, feature( unsafe_block_in_unsafe_fn) ) ]
167167#![ deny( unsafe_op_in_unsafe_fn) ]
168168
169169#[ prelude_import]
Original file line number Diff line number Diff line change 7171#![ feature( peekable_peek_mut) ]
7272#![ cfg_attr( not( bootstrap) , feature( ptr_metadata) ) ]
7373#![ feature( once_cell) ]
74- #![ feature( unsafe_block_in_unsafe_fn) ]
7574#![ feature( unsized_tuple_coercion) ]
7675#![ feature( int_bits_const) ]
7776#![ feature( nonzero_leading_trailing_zeros) ]
7877#![ feature( const_option) ]
7978#![ feature( integer_atomics) ]
8079#![ feature( slice_group_by) ]
8180#![ feature( trusted_random_access) ]
82- #![ deny ( unsafe_op_in_unsafe_fn ) ]
81+ #![ cfg_attr ( bootstrap , feature ( unsafe_block_in_unsafe_fn ) ) ]
8382#![ cfg_attr( not( bootstrap) , feature( unsize) ) ]
83+ #![ deny( unsafe_op_in_unsafe_fn) ]
8484
8585extern crate test;
8686
Original file line number Diff line number Diff line change 324324#![ feature( try_blocks) ]
325325#![ feature( try_reserve) ]
326326#![ feature( unboxed_closures) ]
327- #![ feature( unsafe_block_in_unsafe_fn) ]
327+ #![ cfg_attr ( bootstrap , feature( unsafe_block_in_unsafe_fn) ) ]
328328#![ feature( unsafe_cell_raw_get) ]
329329#![ feature( unwind_attributes) ]
330330#![ feature( vec_into_raw_parts) ]
You can’t perform that action at this time.
0 commit comments