on linux amd64 host, put these 2 files in the same directory, and run
docker run --rm $(docker build -q .)
docker run --rm $(docker build -q .)
then, change deno version to 1.44.2 in dockerfile and run the same command again on 1.44.3 the code fails with a random error from the library being ffi-ed (e.g.
pcre2_substitute_8 error: -8
pcre2_substitute_8 error: -8
. sometimes it's different error code, but always
PCRE2_ERROR_NULL
PCRE2_ERROR_NULL
or
PCRE2_ERROR_UTF8_ERR
PCRE2_ERROR_UTF8_ERR
family), and on 1.44.2 everything works fine and outputs
goodbye world
goodbye world
correctly
on the other hand, everything seems to work fine when running outside docker or on arm64 linux, so i'm not really sure what could be the issue...