After nodejs/node#59791, NodeJS no longer accept absolute paths as arguments to WASI P1 functions.
WasiFileSystem does not convert paths from absolute to relative before passing them to WASI functions (
|
path = pathAddress.address.toInt(), |
), so it is prone to this problem.
After nodejs/node#59791, NodeJS no longer accept absolute paths as arguments to WASI P1 functions.
WasiFileSystemdoes not convert paths from absolute to relative before passing them to WASI functions (okio/okio-wasifilesystem/src/wasmWasiMain/kotlin/okio/WasiFileSystem.kt
Line 471 in 83c8481