Puelloc
Puelloc
Hi, @juntao. I want to try to implement the os module. Is just ok that read the source code of nodejs and write into rust?
I'm not sure about the some apis' behavior in os module should be. `os.arch()` return `process.arch` `os.platform()` return `process.platform` `os.endianness()` return `LE` `os.version()` and `os.release()` can return `process.version` `os.type()` can...
No need to attach wasm file. Runing in linux without arguments will show usage, but in windows, usage also can't show.
I found it because in node.js Buffer is default export in global. Manually set Buffer to global can fix this. ``` var std = require('std'); import {Buffer} from 'buffer'; var...
@juntao Support for the fs module has been completed. For the `chown` and `watch` functions, I haven't found the equivalent api in wasi. For the `chmod`, it has equivalent api(https://github.com/WebAssembly/wasi-filesystem/issues/33),...
> @Puellaquae Does nodejs have a CI test suite we can run to validate those API implementations? Thanks! There seems no test suite for node lib api in nodejs, while...
It need some works before running.
@L-jasmine poll fd write will cause a infinite loop in ubuntu, while in WSL1 it won't happen. ```rust fn main() -> Result { unsafe { let fd = wasi::path_open( 3,...
> > @L-jasmine poll fd write will cause a infinite loop in ubuntu, while in WSL1 it won't happen. > > ```rust > > fn main() -> Result { >...
`path_readlink` is not work well ```rust fn main() -> Result { unsafe { wasi::path_symlink("./test.txt", 3, "./test-link.txt")?; let stat = wasi::path_filestat_get(3, 0, "./test-link.txt")?; println!("{:?}", stat); let mut buf = [0;1024]; let...