-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stdlib: Fix temp alloc size in
try_as_str_array
. (#5753)
Allocation must be based on the type size with padding. In addition to the usual testing, I've also tested against https://github.com/FuelLabs/fuel-vm/tree/feature/0.43.3-memory-grow.
- Loading branch information
1 parent
e40daf7
commit 9e51eeb
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters