]> git.lizzy.rs Git - rust.git/commitdiff
Reduce size of array in test case to 1MB
authorJames Miller <james@aatch.net>
Sun, 18 Jan 2015 20:22:54 +0000 (09:22 +1300)
committerJames Miller <james@aatch.net>
Sun, 18 Jan 2015 20:22:54 +0000 (09:22 +1300)
src/test/run-pass/init-large-type.rs

index a39a45f036e8755d430ced805089594e14e4973f..0534d0c054f44df52f7607be6c6f4ae5512177da 100644 (file)
@@ -18,7 +18,7 @@
     pub fn init<T>() -> T;
 }
 
-const SIZE: usize = 512 * 1024 * 1024;
+const SIZE: usize = 1024 * 1024;
 
 fn main() {
     let _memory: [u8; SIZE] = unsafe { init() };