about summary refs log tree commit diff
path: root/src/libstd/collections
diff options
context:
space:
mode:
authorsnf <snf@noreply.github.com>2018-03-14 14:56:37 +0000
committersnf <snf@noreply.github.com>2018-03-15 17:43:05 +0000
commit9e64946bded0698c8c45d74526e6a8b5a514c4a1 (patch)
treeffa91b4434d6564e287874b8761acf583bfa00ab /src/libstd/collections
parentff2d506c2c748bd218f74c6014abc4cecc8c74c4 (diff)
downloadrust-9e64946bded0698c8c45d74526e6a8b5a514c4a1.tar.gz
rust-9e64946bded0698c8c45d74526e6a8b5a514c4a1.zip
setting ABORTING_MALLOC for asmjs backend
Diffstat (limited to 'src/libstd/collections')
-rw-r--r--src/libstd/collections/hash/map.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index 5f5dec2dd4f..b18b38ec302 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -2755,11 +2755,8 @@ mod test_map {
     use cell::RefCell;
     use rand::{thread_rng, Rng};
     use panic;
-    #[cfg(not(target_arch = "asmjs"))]
     use realstd::collections::CollectionAllocErr::*;
-    #[cfg(not(target_arch = "asmjs"))]
     use realstd::mem::size_of;
-    #[cfg(not(target_arch = "asmjs"))]
     use realstd::usize;
 
     #[test]
@@ -3696,7 +3693,6 @@ mod test_map {
         assert_eq!(hm.len(), 0);
     }
 
-    #[cfg(not(target_arch = "asmjs"))]
     #[test]
     fn test_try_reserve() {