Skip to content

Commit

Permalink
Add raw_entry and tests from libstd
Browse files Browse the repository at this point in the history
Fixes #23
  • Loading branch information
Amanieu committed Nov 27, 2018
1 parent 0d64c37 commit 00c839f
Show file tree
Hide file tree
Showing 4 changed files with 2,112 additions and 176 deletions.
16 changes: 15 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,24 @@
#![no_std]
#![cfg_attr(
feature = "nightly",
feature(alloc, alloc_layout_extra, allocator_api, ptr_offset_from, test, core_intrinsics)
feature(
alloc,
alloc_layout_extra,
allocator_api,
ptr_offset_from,
test,
core_intrinsics,
dropck_eyepatch
)
)]
#![warn(missing_docs)]

#[cfg(test)]
#[macro_use]
extern crate std;
#[cfg(test)]
extern crate rand;

#[cfg(feature = "nightly")]
extern crate alloc;
extern crate byteorder;
Expand Down
Loading

0 comments on commit 00c839f

Please sign in to comment.