Skip to content

Commit bc0df79

Browse files
committed
libcore: rnable 2 unstable const fn features
So that we can bootstrap successfully
1 parent 0f12711 commit bc0df79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
#![feature(const_fn)]
7575
#![feature(const_fn_union)]
7676
#![feature(const_generics)]
77+
#![cfg_attr(not(bootstrap), feature(const_ptr_offset_from))]
78+
#![cfg_attr(not(bootstrap), feature(const_type_name))]
7779
#![feature(custom_inner_attributes)]
7880
#![feature(decl_macro)]
7981
#![feature(doc_cfg)]

0 commit comments

Comments
 (0)