Skip to content
Snippets Groups Projects
  1. Sep 04, 2020
  2. Jul 06, 2020
    • Dan Gohman's avatar
      Add more WASI libc definitions. · 753ad820
      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.)
      753ad820
  3. Jul 02, 2020
  4. Dec 16, 2019
    • Alex Crichton's avatar
      Update bindings for the wasm32-wasi target · 93743ca8
      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.
      93743ca8
  5. Sep 12, 2019
  6. Aug 21, 2019
  7. Aug 18, 2019
  8. Aug 17, 2019
  9. Aug 13, 2019
  10. Aug 09, 2019
  11. Jun 26, 2019
  12. May 29, 2019
  13. May 16, 2019
  14. Apr 24, 2019
  15. Apr 23, 2019
  16. Apr 08, 2019
  17. Apr 05, 2019
  18. Mar 27, 2019
    • Alex Crichton's avatar
      Touch up style of wasi.rs · bce44545
      Alex Crichton authored
      bce44545
    • Alex Crichton's avatar
      Address some PR feedback · 8662b47b
      Alex Crichton authored
      8662b47b
    • Alex Crichton's avatar
      Add intiial support for wasm32-unknown-wasi · 87def1fb
      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]:
      87def1fb
Loading