Skip to content

Commit 2914291

Browse files
committed
Move WTF-8 code from std to core/alloc
1 parent 5a2fcee commit 2914291

File tree

15 files changed

+331
-1278
lines changed

15 files changed

+331
-1278
lines changed

library/alloc/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159
#![feature(unicode_internals)]
160160
#![feature(unsize)]
161161
#![feature(unwrap_infallible)]
162+
#![feature(wtf8_internals)]
162163
// tidy-alphabetical-end
163164
//
164165
// Language features:
@@ -232,6 +233,8 @@ pub mod sync;
232233
#[cfg(all(not(no_global_oom_handling), not(no_rc), not(no_sync)))]
233234
pub mod task;
234235
pub mod vec;
236+
#[cfg(all(not(no_rc), not(no_sync), not(no_global_oom_handling)))]
237+
pub mod wtf8;
235238

236239
#[doc(hidden)]
237240
#[unstable(feature = "liballoc_internals", issue = "none", reason = "implementation detail")]

0 commit comments

Comments
 (0)