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-04-14 16:19:01 -04:00
2020-04-28 19:11:31 -06:00
2020-04-28 19:11:31 -06:00
2020-04-28 19:11:31 -06:00
2020-04-28 19:11:31 -06:00
2020-04-24 15:28:55 -04:00
2020-03-19 09:53:55 -04:00
2020-04-28 19:11:31 -06:00
2019-09-25 23:35:41 -04:00
2020-04-15 15:15:32 +03:00
2019-09-25 23:35:41 -04:00
2019-09-25 23:35:41 -04:00
2020-01-29 22:22:01 -06:00
2020-04-04 17:37:51 -04:00
2020-03-11 17:34:12 -04:00
2020-02-16 13:25:30 -05:00
2020-04-02 21:14:15 +11:00
2020-05-01 06:47:56 -04:00
2019-10-11 18:13:24 -04:00
2020-04-28 19:11:31 -06:00
2019-09-25 23:35:41 -04:00
2020-02-22 12:44:21 +01:00
2020-05-01 06:47:20 -04:00
2020-04-04 17:37:51 -04:00
2020-04-28 19:11:31 -06:00
2020-04-24 15:28:55 -04:00
2020-04-21 18:04:37 -04:00
2020-05-01 06:47:56 -04:00