Commit Graph

1134 Commits

Author SHA1 Message Date
Michael-F-Bryan
04709fad58 Make sure integration tests use an up-to-date build of the wasmer CLI 2023-04-21 15:13:28 +08:00
Michael-F-Bryan
9143d34b9b Added a test for WEBC files with dependencies and no commands 2023-04-19 21:57:44 +08:00
ptitSeb
d08d3c1c95 Updated the other crates too 2023-04-18 16:53:04 +02:00
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
Johnathan Sharratt
032aeb40f8 Added missing files from last commit 2023-04-16 16:53:14 +10:00
Johnathan Sharratt
a6cde1d484 Added imports and an interop for pthreads in WASI 2023-04-16 16:35:00 +10:00
Syrus Akbary
c6c320b31b Added wasi-threads example 2023-04-14 14:31:01 -07:00
Michael-F-Bryan
eba58dffef Removed the #[ignore] from one test because there are multiple flaky python tests (#3717) 2023-04-13 23:44:24 +08:00
ptitSeb
60107df769 Added basic support to inode in filestat_get (for #3583 and #3239) (#3765)
* Added basic support to inode in filestat_get (for #3583 and #3239)

* Added testing for dev&inode unicity
2023-04-13 14:16:32 +00:00
Johnathan Sharratt
1221222578 Merge branch 'master' into poll-fixes 2023-04-09 23:40:44 +02:00
Johnathan Sharratt
1a9e9a8b6e Merge remote-tracking branch 'origin/master' into poll-fixes 2023-04-07 21:00:58 +10:00
Syrus Akbary
2a40ce37f0 Cranelift now supports stackprobing in both Aarch64 and RISC-V 2023-04-07 23:42:23 -07:00
Syrus Akbary
c656642ef6 Ignore condvar test in macos x86_64 2023-04-07 22:55:52 -07:00
Syrus Akbary
30137e911e Reenable all commented tests 2023-04-07 22:12:45 -07:00
Syrus Akbary
01ebdc1d77 Reenabled tests in macos 2023-04-07 21:47:39 -07:00
Johnathan Sharratt
38aa0cc2a9 Made the epoll test more deterministic and added a new test for testing multi-threaded memory access 2023-04-07 18:46:52 +10:00
Johnathan Sharratt
b77d96f774 Added new snapshot tests for MIO and TOKIO 2023-04-07 10:33:13 +10:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
ptitSeb
c145390caa Bumped crates version pre-beta.2 release (#3743) 2023-04-05 10:45:13 +00:00
Johnathan Sharratt
e651e3242a Fixed an issue where blocking polls were being treated as nonblocking polls
Added snapshot tests for minimodem so that reoccurance of bugs is avoided
2023-04-05 12:11:49 +10:00
ptitSeb
b2e7d2af1d [CI] More WAPM_DEV_TOKEN check for CI (#3735) 2023-04-03 13:42:28 +00:00
ptitSeb
35beca3d89 [CI] Use early exit for wasmer_init_works_1 and wasmer_init_works_2 when WAPM_DEV_TOKEN is empty (#3733)
[CI] Use early exit for wasmer_init_works_1 and wasmer_init_works_2 when WAPM_DEV_TOKEN is empty (for external contributors)
2023-04-03 09:13:35 +00:00
Christoph Herzog
9cb4bf32c9 chore: Disable failing test 2023-03-31 11:17:47 +00:00
Christoph Herzog
4afbc4b56a chore: Disable failing tests
Ignore some tests that are currently failing.

Fixing them is tracked in https://github.com/wasmerio/wasmer/issues/3717
2023-03-29 00:44:49 +02:00
Michael-F-Bryan
b6255313f5 Extract WASI-based runner code into its own module 2023-03-24 21:40:03 +08:00
Michael-F-Bryan
9ec190e232 Added a tracing filesystem and more logs 2023-03-24 21:40:02 +08:00
ptitSeb
d58d158897 Release 3.2.0-beta.1 2023-03-22 19:14:57 +01:00
ptitSeb
7500ce76fc Feat riscv llvm and cranelift (#3244)
* Basic changes for RISC-V support

* RISC-V in compiler LLVM

* RISC-V support in dylib engine

* RISC-V support in universal engine

* Various small fixes

* [RISCV] LLVM-riscv working, with some ignored tests to be worked on later

* Update rustc to 4.65 (1.64 has some issue with riscv64 target)

* Fixed some (new) Linting issues

* Updated Cargo.toml and remove split-debuginfo for Windows build

* Removed profile.dev from Cargo.toml as it cannot be per platform (breaks Windows). split-debug info is now the default value

* Enable Cranelift compiler for RISCV

* Update crates and fixed all the new clippy errors

* Taken review remarks into account

* Removed change from deny.toml, it's not needed anymore

* Added some more comment about llvm abi hack

* Added doc about current state of RISCV support

* Fixed (newer) linter

---------

Co-authored-by: Toru Nayuki <tnayuki@icloud.com>
2023-03-22 15:26:28 +01:00
Michael-F-Bryan
3c7f73bf43 Disable wasmer run-unstable integration tests on musl Linux
See #3698 for more.
2023-03-22 02:00:48 +08:00
Michael-F-Bryan
e80f845246 Rename "run2" to "run-unstable" 2023-03-22 01:36:18 +08:00
Michael-F-Bryan
ab12f1490e Ripped out the union fs stuff
The WasiRunner's filesystem now only has access to volumes from its container.

The WcgiRunner's filesystem now only has access to mapped directories.
2023-03-22 01:36:14 +08:00
Michael-F-Bryan
702972fb10 Reuse unioned_filesystem() for WCGI 2023-03-22 01:31:55 +08:00
Michael-F-Bryan
6716e14000 Added some more tests to pinpoint why the volume filesystem isn't loading 2023-03-22 01:27:14 +08:00
Michael-F-Bryan
ee3d263172 Added the webc fs to the WASI runner 2023-03-22 01:27:14 +08:00
Michael-F-Bryan
fa853475dc Add more useful logs to the WCGI server 2023-03-22 01:27:13 +08:00
Michael-F-Bryan
ac7f8e53a2 Make lint 2023-03-22 01:27:13 +08:00
Michael-F-Bryan
7a55304a44 Re-worked the logic for directory mapping 2023-03-22 01:27:12 +08:00
Michael-F-Bryan
4d53bc0b13 Implemented the logic for "wasmer run ./some/directory/" 2023-03-22 01:25:43 +08:00
Michael-F-Bryan
77e2f39afe Logs should go to stderr 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
21d1fcf1d9 Added a test for WCGI with mounted directories 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
fa53a0d589 Propagate environment variables to the WASI runner 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
ad59f5a7f3 Implemented URL downloading & caching 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
0efd37f40f Refactored the run2 tests so we recompile the wasmer CLI as necessary 2023-03-22 01:25:42 +08:00
Michael-F-Bryan
f21b07e8e6 Wasmer run for wasm32-unknown-unknown 2023-03-22 01:25:41 +08:00
Michael-F-Bryan
c91ec45a1b Run WASI executables directly 2023-03-22 01:25:40 +08:00
Michael-F-Bryan
dd42d32fac Wired up bare WEBC commands 2023-03-22 01:23:36 +08:00
Michael-F-Bryan
ab2f65c143 Added integration tests for run2 2023-03-22 01:23:35 +08:00
Christoph Herzog
4a99b50af8 Remove PluggableRuntime::default()
We don't want this impl anymore, because the user should be forced to
supply the virtual task manager manually so they are cognizent of the
fact they WASIX is running on an async runtime.
2023-03-21 17:20:27 +00:00
Christoph Herzog
ffacc03ded refactor(wasi): Rename PluggableRuntimeImplementation to PluggableRuntime
The *Implementation suffix is just pure noise.
2023-03-21 17:20:27 +00:00
Johnathan Sharratt
bdc41ec2aa Targeting environments that the snapshot tests work on 2023-03-17 11:19:07 +11:00