Skip to content

Commit

Permalink
Increase heap size (#2374)
Browse files Browse the repository at this point in the history
cmichi authored Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d5023db commit c2e0857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/allocator/src/bump.rs
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ const PAGE_SIZE: usize = 64 * 1024;
static mut INNER: Option<InnerAlloc> = None;

#[cfg(target_arch = "riscv64")]
static mut RISCV_HEAP: [u8; 1024 * 10] = [0; 1024 * 1024];
static mut RISCV_HEAP: [u8; 1024 * 1024] = [0; 1024 * 1024];

/// A bump allocator suitable for use in a Wasm environment.
pub struct BumpAllocator;

0 comments on commit c2e0857

Please sign in to comment.