Skip to content

Commit

Permalink
Reduce size of array in test case to 1MB
Browse files Browse the repository at this point in the history
  • Loading branch information
Aatch committed Jan 18, 2015
1 parent 9c5173f commit 25a4adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass/init-large-type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extern "rust-intrinsic" {
pub fn init<T>() -> T;
}

const SIZE: usize = 512 * 1024 * 1024;
const SIZE: usize = 1024 * 1024;

fn main() {
let _memory: [u8; SIZE] = unsafe { init() };
Expand Down

0 comments on commit 25a4adc

Please sign in to comment.