From d14870b270e6557ce06589808f3196e0c8ffff4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20Leegwater=20Sim=C3=B5es?= Date: Tue, 24 Sep 2024 14:27:16 +0200 Subject: [PATCH] uplink: increase scratch size to 1024 --- piecrust-uplink/CHANGELOG.md | 4 ++++ piecrust-uplink/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/piecrust-uplink/CHANGELOG.md b/piecrust-uplink/CHANGELOG.md index 37d83582..8b12ae6b 100644 --- a/piecrust-uplink/CHANGELOG.md +++ b/piecrust-uplink/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Increase `SCRATCH_BUF_BYTES` to 1024 + ## [0.17.0] - 2024-09-04 ### Added diff --git a/piecrust-uplink/src/lib.rs b/piecrust-uplink/src/lib.rs index 717d0dd9..2745ca97 100644 --- a/piecrust-uplink/src/lib.rs +++ b/piecrust-uplink/src/lib.rs @@ -79,7 +79,7 @@ mod error; pub use error::*; /// How many bytes to use for scratch space when serializing -pub const SCRATCH_BUF_BYTES: usize = 64; +pub const SCRATCH_BUF_BYTES: usize = 1024; /// The size of the argument buffer in bytes pub const ARGBUF_LEN: usize = 64 * 1024;