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
Michael-F-Bryan
aa5709ab05
Upgrade to webc v5.0.0
2023-04-18 19:25:20 +08:00
ptitSeb
01a8036ed9
[CI] Add RISCV in test and build ( #3706 )
...
* [CI] Add RISCV in test and build
* update Cargo lock to fix cargo deny step
* Some updates to avoid riscv incompatibilities
2023-04-14 08:46:01 +00:00
Michael-F-Bryan
b2b35e5ae6
Make clippy happy
2023-04-13 23:44:23 +08:00
Christoph Herzog
97136b111c
deps: Remove duplicate webc dependencies
...
These were introduced by an older version of targz-to-pirita depending
on an older wasmer-registry
2023-04-13 23:44:23 +08:00
Michael-F-Bryan
63333037cf
Update the runner trait to accept a webc::Container
2023-04-13 23:44:22 +08:00
Michael-F-Bryan
0f067df42b
Bump to the latest webc version
2023-04-13 23:44:21 +08: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
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
9a29c388b7
Fixed wasi command
2023-04-04 19:12:47 -07: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
4e7a6ed108
Use cache in runners
2023-04-04 00:17:15 -07: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
Michael-F-Bryan
2c779dc2e2
Bump to wapm-targz-to-pirita with the wasmerio/pirita#107 fix
2023-03-30 22:10:27 +08:00
Syrus Akbary
01a34e292f
Merge branch 'master' into master-with-fixes
2023-03-29 13:29:13 -07: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
Christoph Herzog
08d61086cd
Bump wasmer-registry crate to 4.2
2023-03-29 00:36:44 +02:00
Christoph Herzog
7291ea6935
docs(cli): Fix doc comment on publish command
...
Add a sensible message...
2023-03-29 00:26:53 +02:00
Christoph Herzog
727535774b
refactor: Move package build + publish logic to registry
...
Moves the logic for converting a wasmer.toml package file into a tar.gz
and publishing it to the backend into the wasmer_registry crate.
2023-03-29 00:26:53 +02:00
Syrus Akbary
a9315820a1
Fix toml
2023-03-26 19:59:51 -07:00
Syrus Akbary
1031b9b1b5
Merge branch 'master' into master-with-fixes
...
# Conflicts:
# lib/c-api/Cargo.toml
# lib/cache/Cargo.toml
# lib/cli/Cargo.toml
# lib/emscripten/Cargo.toml
# lib/wasi/Cargo.toml
2023-03-26 19:55:33 -07:00
ptitSeb
c9743a03f1
Fixes post 3.2.0-beta.1 release (but needed for the crates publication) ( #3705 )
2023-03-23 20:26:50 +01: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
5bd69c6553
Create the checkout dir if necessary
2023-03-22 01:36:18 +08:00
Michael-F-Bryan
e80f845246
Rename "run2" to "run-unstable"
2023-03-22 01:36:18 +08:00
Michael-F-Bryan
702972fb10
Reuse unioned_filesystem() for WCGI
2023-03-22 01:31:55 +08:00
Michael-F-Bryan
27bf71e9fe
Moved MappedDirectory into the wasmer_wasi::runners module
2023-03-22 01:31:15 +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
b07dd1b62e
Fixed wasmer-cache unit tests and lints
2023-03-22 01:25:43 +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
86134dac5a
Wired up module caching
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
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
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
Michael-F-Bryan
06a4daede7
Revert some unnecessary Cargo.toml formatting
2023-03-22 01:23:35 +08:00