fix: 限制内存上限以减缓测试溢出问题

This commit is contained in:
爱特每羊队
2026-06-17 21:28:22 +08:00
parent 5d168316ad
commit 7bbdc7e3da
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use crate::coercion;
use crate::native::NativeResult;
use crate::vm::Vm;
const MAX_ARRAY_BUFFER_LENGTH: usize = 1 << 30;
pub(crate) const MAX_ARRAY_BUFFER_LENGTH: usize = 1 << 30;
macro_rules! native_try {
($expr:expr) => {