Jakub Konka 8bce1b6981 Refactor resolve_preopen into getPreopens function
This commit refactors `std.os.wasi.resolve_preopen` into a (higher-level)
`std.os.wasi.getPreopens` funtion which returns a slice with _all_
preopens at any given time. This fn allows the WASI module to
inquire at any given time for all preopens provided by the runtime.

This commit also makes `cwd()` a compile error on WASI.
2020-05-05 15:08:52 +02:00
..
2020-05-05 15:08:52 +02:00
2020-04-28 00:02:13 -06:00
2020-04-28 00:02:13 -06:00
2019-10-24 01:14:52 -04:00
2019-10-30 21:21:58 -04:00
2019-10-24 01:14:52 -04:00
2020-04-28 00:02:13 -06:00