Project

General

Profile

« Previous | Next » 

Revision b4f74e24

Added by katei (Yuta Saito) about 2 months ago

[wasm] Fallback to emulated realpath on wasi-libc realpath ENOTSUP

wasi-libc 22 and later support realpath(3)
(https://github.com/WebAssembly/wasi-libc/pull/463) but the underlying
host syscall may return ENOTSUP. This is typically the case when using
incomplete WASI polyfills on web browsers. For such cases, we should
fallback to the emulated realpath.