Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the WASI ABI. #299

Merged
merged 92 commits into from
Apr 4, 2019
Merged

Support for the WASI ABI. #299

merged 92 commits into from
Apr 4, 2019

Commits on Mar 28, 2019

  1. Add wasi crate

    lachlansneff committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    be08154 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0787d00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3a6b7c View commit details
    Browse the repository at this point in the history
  4. add stubs and dispatch

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    b7254ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b0992e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c045da3 View commit details
    Browse the repository at this point in the history
  7. Add wasi state

    lachlansneff committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    94674e9 View commit details
    Browse the repository at this point in the history
  8. hook up wasi to wasmer

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    bc863fc View commit details
    Browse the repository at this point in the history
  9. fix typo

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    72dd995 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dbc4176 View commit details
    Browse the repository at this point in the history
  11. Fix clippy lint

    lachlansneff committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    256253a View commit details
    Browse the repository at this point in the history
  12. pass args and env vars to wasi

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    3c01c11 View commit details
    Browse the repository at this point in the history
  13. implement wasi check

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    a69fdfe View commit details
    Browse the repository at this point in the history
  14. fix test

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    5c12fd0 View commit details
    Browse the repository at this point in the history
  15. Merge #301

    301: Add arg and env support to wasi r=lachlansneff a=lachlansneff
    
    
    
    Co-authored-by: Lachlan Sneff <[email protected]>
    Co-authored-by: Mark McCaskey <[email protected]>
    3 people committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    e227b89 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    21304cb View commit details
    Browse the repository at this point in the history
  17. add feature gate on import

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    ce22818 View commit details
    Browse the repository at this point in the history
  18. Merge #300

    300: hook up wasi to wasmer r=lachlansneff a=MarkMcCaskey
    
    
    
    Co-authored-by: Mark McCaskey <[email protected]>
    Co-authored-by: Mark McCaskey <[email protected]>
    3 people committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    3323c3c View commit details
    Browse the repository at this point in the history
  19. Add all wasi types

    lachlansneff committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    bde6bdf View commit details
    Browse the repository at this point in the history
  20. Merge #303

    303: Add all wasi types r=lachlansneff a=lachlansneff
    
    This adds all wasi types.
    
    Co-authored-by: Lachlan Sneff <[email protected]>
    bors[bot] and lachlansneff committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    79133e5 View commit details
    Browse the repository at this point in the history
  21. remove __wasi_ prefix

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    aed9d3b View commit details
    Browse the repository at this point in the history
  22. Merge #304

    304: remove __wasi_ prefix r=lachlansneff a=MarkMcCaskey
    
    
    
    Co-authored-by: Mark McCaskey <[email protected]>
    bors[bot] and Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    2982e6e View commit details
    Browse the repository at this point in the history
  23. fix conditional compliation

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    46f90d3 View commit details
    Browse the repository at this point in the history
  24. actually fix it

    Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    9478ba7 View commit details
    Browse the repository at this point in the history
  25. Merge #305

    305: Feature/fix wasi setup r=lachlansneff a=MarkMcCaskey
    
    
    
    Co-authored-by: Mark McCaskey <[email protected]>
    bors[bot] and Mark McCaskey committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    72ec4ab View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2019

  1. Configuration menu
    Copy the full SHA
    c45de22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd09343 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90db12e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d9b89b4 View commit details
    Browse the repository at this point in the history
  5. Merge #306

    306: Add helper types and wasi function signatures r=MarkMcCaskey a=lachlansneff
    
    
    
    Co-authored-by: Lachlan Sneff <[email protected]>
    bors[bot] and lachlansneff committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    39ccf40 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea27eff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d10d028 View commit details
    Browse the repository at this point in the history
  8. call wasi files correctly

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    514432c View commit details
    Browse the repository at this point in the history
  9. Add prestat_t

    lachlansneff committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    b1030d3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4df5f02 View commit details
    Browse the repository at this point in the history
  11. add imports

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    23c09ac View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    48b5918 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    48d34d9 View commit details
    Browse the repository at this point in the history
  14. fix linux impl bugs

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    de241a0 View commit details
    Browse the repository at this point in the history
  15. probably actually fix linux for real though

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    1f8b90b View commit details
    Browse the repository at this point in the history
  16. move linux impl to unix (it works on osx too!)

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    28d9d1f View commit details
    Browse the repository at this point in the history
  17. implement random_get()

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    88212d3 View commit details
    Browse the repository at this point in the history
  18. add pread on linux

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    35fbf57 View commit details
    Browse the repository at this point in the history
  19. fix basic errors in linux impl

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    5dcb95d View commit details
    Browse the repository at this point in the history
  20. fix backward enumerate

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    e7a5c01 View commit details
    Browse the repository at this point in the history
  21. implement ValueType for prestat_t

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    147d71a View commit details
    Browse the repository at this point in the history
  22. impl ValueType for fdstat_t

    Mark McCaskey committed Mar 29, 2019
    Configuration menu
    Copy the full SHA
    42e8523 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2019

  1. add some syscall skeletons; context switching

    Mark McCaskey committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    5cee576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e156ea2 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Merge pull request #307 from wasmerio/feature/wasi-cross-platform-ske…

    …leton
    
    Feature/wasi cross platform skeleton
    MarkMcCaskey authored Apr 1, 2019
    Configuration menu
    Copy the full SHA
    4108c8f View commit details
    Browse the repository at this point in the history
  2. add more stubs for fs calls

    Mark McCaskey committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    7addd92 View commit details
    Browse the repository at this point in the history
  3. add lots of doc comments

    Mark McCaskey committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    5b6856d View commit details
    Browse the repository at this point in the history
  4. Add start of wasi fs

    lachlansneff committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    68f1123 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c12c7d5 View commit details
    Browse the repository at this point in the history
  6. add more doc comments

    Mark McCaskey committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    61dd2e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ce35e57 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    23b1d1d View commit details
    Browse the repository at this point in the history
  9. Add wasi_try macro

    lachlansneff committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    92ec719 View commit details
    Browse the repository at this point in the history
  10. fix it up

    Mark McCaskey committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    2dd7ec8 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'feature/wasi' of github.com:wasmerio/wasmer into featur…

    …e/wasi
    Mark McCaskey committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    84dc20a View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. update wasi Cargo.toml

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    d164c7a View commit details
    Browse the repository at this point in the history
  2. init zbox first

    lachlansneff committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    8bab9f1 View commit details
    Browse the repository at this point in the history
  3. Misc fixes

    lachlansneff committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    287c81d View commit details
    Browse the repository at this point in the history
  4. add debug lines to all wasi syscalls

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    6cec356 View commit details
    Browse the repository at this point in the history
  5. get debug statements working; add some extra info

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    4356293 View commit details
    Browse the repository at this point in the history
  6. implement some of fd_prestat_get

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    d421e91 View commit details
    Browse the repository at this point in the history
  7. add hacked together impl of write for stdout and stderr

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    242f9f6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3a6e2c9 View commit details
    Browse the repository at this point in the history
  9. implement fd_write for files

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    6278ced View commit details
    Browse the repository at this point in the history
  10. Merge branch 'feature/wasi' of github.com:wasmerio/wasmer into featur…

    …e/wasi
    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    04a8073 View commit details
    Browse the repository at this point in the history
  11. update cursor in file when writing to it

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    a4547e3 View commit details
    Browse the repository at this point in the history
  12. add null termination to args for wasi

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    0b9fc5a View commit details
    Browse the repository at this point in the history
  13. impl fd_read (untested)

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    e61c03a View commit details
    Browse the repository at this point in the history
  14. implement datasync

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    2de5a5d View commit details
    Browse the repository at this point in the history
  15. add set_rights syscall

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    e180fd1 View commit details
    Browse the repository at this point in the history
  16. impl set_flags on fd

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    fe4195f View commit details
    Browse the repository at this point in the history
  17. add rights checking fn for future-proofing reasons

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    697bdc7 View commit details
    Browse the repository at this point in the history
  18. implement most of fd_filestat_set_times

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    37371eb View commit details
    Browse the repository at this point in the history
  19. impl fd_seek

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    7d07b6f View commit details
    Browse the repository at this point in the history
  20. implement fd_tell

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    dd7cfac View commit details
    Browse the repository at this point in the history
  21. implement fd_renumber

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    ce4676d View commit details
    Browse the repository at this point in the history
  22. kind of implement fd_pwrite

    Mark McCaskey committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    f70b75e View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. implement happy path of fd_open

    Mark McCaskey committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    b80dd07 View commit details
    Browse the repository at this point in the history
  2. implement path_filestat_get

    Mark McCaskey committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    7d728fc View commit details
    Browse the repository at this point in the history
  3. improve debug statements for arg syscalls

    Mark McCaskey committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    d04d1bf View commit details
    Browse the repository at this point in the history
  4. clean up platform-specific syscall code

    Mark McCaskey committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    10696c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9e7a33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b34ea6 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. rename fs and fix (probable) bug in renumber syscall

    Mark McCaskey committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    c1c99db View commit details
    Browse the repository at this point in the history
  2. rename to destructor

    xmclark committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    207bd01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2686322 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbf663a View commit details
    Browse the repository at this point in the history