Add <*const T>::align_offset and use it in memchr

This commit is contained in:
Oliver Schneider
2017-09-13 12:20:39 +02:00
committed by Oliver Schneider
parent 1cdd68922d
commit 2787a285bd
5 changed files with 80 additions and 41 deletions

View File

@@ -242,6 +242,7 @@
#![feature(allocator_internals)]
#![feature(allow_internal_unsafe)]
#![feature(allow_internal_unstable)]
#![feature(align_offset)]
#![feature(asm)]
#![feature(box_syntax)]
#![feature(cfg_target_has_atomic)]