Fix initfs space insufficient issue

Credit: willnode

Increase initfs space under debug mode from 128MiB to 256MiB.
The old size causes build failure.
This commit is contained in:
April Grimoire
2026-02-09 22:48:43 +08:00
parent f08f60dc51
commit 2c11d1aee6
+1 -1
View File
@@ -14,7 +14,7 @@ pub const KIBIBYTE: u64 = 1024;
pub const MEBIBYTE: u64 = KIBIBYTE * 1024;
#[cfg(debug_assertions)]
pub const DEFAULT_MAX_SIZE: u64 = 128 * MEBIBYTE;
pub const DEFAULT_MAX_SIZE: u64 = 256 * MEBIBYTE;
#[cfg(not(debug_assertions))]
pub const DEFAULT_MAX_SIZE: u64 = 64 * MEBIBYTE;