Commit Graph

9362 Commits

Author SHA1 Message Date
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
ptitSeb
f0478b9464 Added some unit testing to singlepass compiler (#3751)
* Added some unit testing to singlepass compiler

* More emitter testing for x86_64 backend

* Added more emiter test to singlepass x86_64 backend

* Added some emiter test for singlepass arm64 backend

* More test emiter for singlepass arm64

* Added more Singlepass ARM64 backend
2023-04-12 12:07:21 +00:00
ptitSeb
7da8f28cd1 Fixed publish script with latest needed changes (#3749)
* Fixed publish script with latest needed changes (exept for wasmer-wasix-experimental-io-devices still not working)

* Use wasmer/sys for the sys feature of wasmer-wasix
2023-04-11 23:31:30 +02:00
Johnathan Sharratt
1221222578 Merge branch 'master' into poll-fixes 2023-04-09 23:40:44 +02:00
Syrus Akbary
29b124e549 Updated lock deps 2023-04-09 13:36:07 -07:00
Syrus Akbary
83202ecea6 Simplified a bit the wasi-web crate by removing VMMemory 2023-04-09 13:25:20 -07:00
Syrus Akbary
a18c5eb0c7 Merge branch 'master' into wasi-no-vm 2023-04-09 12:39:15 -07:00
Syrus Akbary
19c1655571 Fixed linting 2023-04-08 00:45:00 -07:00
Syrus Akbary
6c4ea497b9 Move all vm internals out 2023-04-08 00:37:48 -07:00
Syrus Akbary
214d416da3 Remove all references to VM store and sys 2023-04-07 23:35:20 -07:00
Syrus Akbary
014d113935 Move VMMemory one level up (new thread) 2023-04-07 23:26:45 -07:00
Syrus Akbary
8171ad1cc9 Move vm memory up 2023-04-07 23:08:08 -07:00
Syrus Akbary
ccb5aa2f7d Move MemoryStyle creation after 2023-04-07 22:51:05 -07:00
Syrus Akbary
5eb1e44c0e Enables probestack in aarch64 2023-04-07 22:02:21 -07:00
Johnathan Sharratt
1a9e9a8b6e Merge remote-tracking branch 'origin/master' into poll-fixes 2023-04-07 21:00:58 +10:00
Johnathan Sharratt
c5ce85ff02 Now excluding the wasmer-sh from the main project 2023-04-07 20:23:15 +10:00
Johnathan Sharratt
0644c613ed Removed an old logo 2023-04-07 19:51:32 +10:00
Johnathan Sharratt
9fab143f7d Added the wasmer.sh website to the main repo and a CI/CD build test 2023-04-07 19:38:47 +10:00
Johnathan Sharratt
71bcb9c7b6 Fixed some compile errors on the tests 2023-04-07 15:34:14 +10:00
Johnathan Sharratt
164c6e2393 Upgrade webc from webc 5.0.0-rc.5 to webc 5.0.0-rc.6 2023-04-07 11:07:53 +10:00
Johnathan Sharratt
b77d96f774 Added new snapshot tests for MIO and TOKIO 2023-04-07 10:33:13 +10:00
Johnathan Sharratt
e3fce8cb9a Merge remote-tracking branch 'origin/master' into poll-fixes 2023-04-07 05:00:26 +10:00
Johnathan Sharratt
47456e3a64 Updated the poll function for the MIO fixes to come 2023-04-06 02:45:55 +10:00
ptitSeb
15bce243ae Added missing crate version bump 2023-04-05 17:37:20 +02:00
ptitSeb
8dbc260aae Foxed to use crate webc 5.0.0-rc.5 exactly 2023-04-05 13:53:29 +02: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
Syrus Akbary
d78457bd29 Update versions of wcgi 2023-04-05 01:18:11 -07:00
Syrus Akbary
12dbb78d9d Merge pull request #3741 from wasmerio/poll-fixes
Fixed an issue where blocking polls were being treated as nonblocking
2023-04-04 21:22:34 -07:00
Syrus Akbary
9a29c388b7 Fixed wasi command 2023-04-04 19:12:47 -07: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
Syrus Akbary
ef27bcdeff Fixed tests 2023-04-04 17:34:59 -07:00
Syrus Akbary
53aa9ba456 Addressed comment from Michael 2023-04-04 01:03:13 -07:00
Syrus Akbary
f8b9e87bf4 Fixed lint, again 2023-04-04 00:25:44 -07:00
Syrus Akbary
866b7eeee0 Fixed linting 2023-04-04 00:23:36 -07:00
Syrus Akbary
4e7a6ed108 Use cache in runners 2023-04-04 00:17:15 -07:00
ptitSeb
4a318306f2 Fixed FileSystem createdir when parent_inode is an ArcDirectory (#3737) 2023-04-03 19:37:12 +00:00
ptitSeb
5a8e1e33d8 Fixed Vectored IO when a partial operation occurs (#3736)
Fixed Vectored IO when a partial operation occurs (help rx part of #2904)
2023-04-03 19:29:24 +02:00
Johnathan Sharratt
93cc9f8517 Added missing ASM instructions for wasix on singlepass (#3731) 2023-04-02 18:51:32 +02:00
Christoph Herzog
9579240c21 Switch wasi module cache and CLI to use validated module deserialization
Prevents undefined behaviour when loading modules.

This is a much saner/safer default option, since loading modules without
validation can cause UB and segfaults.
2023-03-31 13:01:58 +00:00
Christoph Herzog
47cc5bbf99 feat: Implement safe, checked module artifact deserialization
Enable rkyv validation of serialized module artifacts.

Required additions:
* derive the required CheckBytes trait for all types
* Add `_checked` variants of all the deserialization functions

Also enables the `strict` feature of rkyv by default.
This will ensure consistent archive binary layout across architectures
and Rust compiler versions.
2023-03-31 13:01:58 +00:00
Michael-F-Bryan
2c779dc2e2 Bump to wapm-targz-to-pirita with the wasmerio/pirita#107 fix 2023-03-30 22:10:27 +08:00
Michael-F-Bryan
09b94d9b1e Revert "wapm2pirita nests all annotations under a key with the same name as the runner"
This reverts commit 83bec095cf.
2023-03-30 21:54:40 +08:00
Syrus Akbary
01a34e292f Merge branch 'master' into master-with-fixes 2023-03-29 13:29:13 -07:00
Michael-F-Bryan
bcaf19865e Set the CGI variables *after* the WASI ones 2023-03-30 01:00:23 +08:00
Michael-F-Bryan
cacc5c3890 Reordered WCGI so we apply user-specified environment variables *after* the CGI ones 2023-03-29 21:29:17 +08:00
Michael-F-Bryan
6d8cf2bbb7 Print out the server URL on startup 2023-03-29 21:29:17 +08:00
Michael-F-Bryan
b6e28bf49e Revert some changes we don't want 2023-03-29 21:29:17 +08:00
Syrus Akbary
fc59e812f5 Allow to receive custom configuration 2023-03-29 21:29:17 +08:00
Johnathan Sharratt
78147151d1 Also fixed the futex_wake once call 2023-03-29 11:10:27 +00:00