aboutsummaryrefslogtreecommitdiff
path: root/src/lib/std.rc
diff options
context:
space:
mode:
authorRoy Frostig <[email protected]>2010-07-20 18:03:09 -0700
committerRoy Frostig <[email protected]>2010-07-20 18:03:09 -0700
commit9c81889ad258c34635532dc7017d1c2b831230b8 (patch)
treebc1490ad4d785b4e18219622558bc607740466d1 /src/lib/std.rc
parentBe a little more careful before assuming we have crate debuginfo and abbrevs ... (diff)
downloadrust-9c81889ad258c34635532dc7017d1c2b831230b8.tar.xz
rust-9c81889ad258c34635532dc7017d1c2b831230b8.zip
Add a (coarse, first-pass) deque implementation to stdlib.
Diffstat (limited to 'src/lib/std.rc')
-rw-r--r--src/lib/std.rc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/std.rc b/src/lib/std.rc
index 4bdad5bd..dfc404ec 100644
--- a/src/lib/std.rc
+++ b/src/lib/std.rc
@@ -26,11 +26,7 @@ auth _io = unsafe;
auth _str = unsafe;
auth _vec = unsafe;
-/**
- * FIXME for some reason 'auth sys = unsafe' isn't enough here to silence
- * the effect system about map.mk_hashmap.hashl and .hashr using
- * sys.rustrt.size_of and thereby being unsafe.
- */
+auth _int.next_power_of_two = unsafe;
auth map.mk_hashmap = unsafe;
// Target-OS module.
@@ -46,3 +42,4 @@ alt (target_os) {
}
mod map;
+mod deque;