From aa4b6f91dc423a15c85cdbc4c54d21bfb2c2459b Mon Sep 17 00:00:00 2001 From: GroM Date: Fri, 4 Oct 2024 11:19:48 +0200 Subject: [PATCH] Heap size can be set at application level --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index aee4a63..5158b7e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,3 +7,8 @@ target = "nanosplus" [unstable] build-std = ["core", "alloc"] build-std-features = ["compiler-builtins-mem"] + +# Uncomment the following lines to set the heap size (default is 8192) +# Recommended values are [2048, 4096, 8192, 16384, 24576] +#[env] +#HEAP_SIZE = "8192" \ No newline at end of file