[vm/ffi] @Constant
for compile-time null terminated strings
#52342
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-ffi
P3
A lower priority bug or feature request
triaged
Issue has been triaged by sub team
type-enhancement
A request for a change that isn't a bug
Would be nice to have to avoid managing allocations for C strings, and in AOT it could be part of the
.rodata
section of the executable.Would support UTF-8 (Uint8) and UTF-16 (Uint16). Could be extended for value and struct constants behind a pointer as well.
cc @dcharkes
The text was updated successfully, but these errors were encountered: