- Sep 04, 2020
-
-
Dan Gohman authored
Define `O_NOCTTY`, `R_OK`, `POLLIN`, and related constants using the current values from WASI libc.
-
- Jul 06, 2020
-
-
Dan Gohman authored
This adds various WASI libc definitions to the Rust libc bindings that I needed while porting some applications to WASI. It also removes the `pause` binding since newer versions of WASI libc have removed this function as well. (WASI currently has no syscall with this functionality.)
-
- Jul 02, 2020
-
-
Dan Gohman authored
These declarations are the same as those for other platforms.
-
- Dec 16, 2019
-
-
Alex Crichton authored
This commit performs a number of updates for libc with the `wasm32-wasi` target: * Updates the `wasi-libc` repository commit used (previously known as `wasi-sysroot`) * Updates the container to Ubuntu 19.10 which has Clang 9 packaged which is all we need. * Avoids building `wasmtime` and instead downloads a precompiled binary. * Updates bindings in `src/wasi.rs` to match the current upstream state.
-
- Sep 12, 2019
-
-
gnzlbg authored
-
- Aug 21, 2019
-
-
newpavlov authored
-
- Aug 18, 2019
-
-
Luke Petre authored
-
- Aug 17, 2019
-
-
Luke Petre authored
-
- Aug 13, 2019
-
-
Artyom Pavlov authored
-
- Aug 09, 2019
-
-
Artyom Pavlov authored
-
- Jun 26, 2019
-
-
Travis Finkenauer authored
-
- May 29, 2019
-
-
gnzlbg authored
-
- May 16, 2019
-
-
Dan Gohman authored
- Rename `wasm32-unknown-wasi` to `wasm32-wasi`. - `__wasilibc_rmfileat` was renamed to `__wasilibc_unlinkat` - Add bindings for a few more functions and typedefs.
-
gnzlbg authored
-
- Apr 24, 2019
-
-
Dan Gohman authored
-
Dan Gohman authored
fd_set isn't automatically copyable. While it will be possible to fix that, for now just remove these so that they don't block other changes.
-
Dan Gohman authored
-
Dan Gohman authored
-
Dan Gohman authored
-
- Apr 23, 2019
-
-
Dan Gohman authored
dirent contains a flexible array member, so don't test its sizeof, don't allow it to be copied, and don't represent it with an artificial size.
-
Dan Gohman authored
-
Dan Gohman authored
Also, locale_t is a typedef for a pointer to an opaque struct, so represent it that way explicitly.
-
Dan Gohman authored
-
Dan Gohman authored
-
- Apr 08, 2019
-
-
Alex Crichton authored
Added recently and will be used in libstd!
-
- Apr 05, 2019
-
-
Alex Crichton authored
Now that wasi is in nightlies, we can run it on PRs!
-
- Mar 27, 2019
-
-
Alex Crichton authored
-
Alex Crichton authored
-
Alex Crichton authored
This target is [being proposed][LINK] int he rust-lang/rust repository and this is intended to get coupled with that proposal. The definitions here all match the upstream reference-sysroot definitions and the functions all match the reference sysroot as well. The linkage here is described more in detail on the Rust PR itself, but in general it's similar to musl. Automatic verification has been implemented in the same manner as other targets, and it's been used locally to develop this PR and catch errors in the bindings already written (also to help match the evolving sysroot of wasi). The verification isn't hooked up to CI yet though because there is no wasi target distributed via rustup just yet, but once that's done I'll file a follow-up PR to execute verification on CI. [LINK]:
-