Skip to content

Commit 00c839f

Browse files
committed
Add raw_entry and tests from libstd
Fixes #23
1 parent 0d64c37 commit 00c839f

File tree

4 files changed

+2112
-176
lines changed

4 files changed

+2112
-176
lines changed

src/lib.rs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,24 @@
1212
#![no_std]
1313
#![cfg_attr(
1414
feature = "nightly",
15-
feature(alloc, alloc_layout_extra, allocator_api, ptr_offset_from, test, core_intrinsics)
15+
feature(
16+
alloc,
17+
alloc_layout_extra,
18+
allocator_api,
19+
ptr_offset_from,
20+
test,
21+
core_intrinsics,
22+
dropck_eyepatch
23+
)
1624
)]
1725
#![warn(missing_docs)]
1826

27+
#[cfg(test)]
28+
#[macro_use]
29+
extern crate std;
30+
#[cfg(test)]
31+
extern crate rand;
32+
1933
#[cfg(feature = "nightly")]
2034
extern crate alloc;
2135
extern crate byteorder;

0 commit comments

Comments
 (0)