Commit Graph

725 Commits

Author SHA1 Message Date
Felix Schütt
73c6387336 Fix wapm init compilation 2022-12-12 14:33:49 +01:00
Felix Schütt
248b2f20f8 Fix make lint 2022-12-12 14:33:49 +01:00
Felix Schütt
e2126b593b Detect cargo wapm and add metadata to Cargo.toml, if applicable 2022-12-12 14:33:49 +01:00
Felix Schütt
41a311df52 Fix wapm.toml definition 2022-12-12 14:33:49 +01:00
Felix Schütt
0dfa9a8bfa Add wasmer init 2022-12-12 14:33:49 +01:00
Felix Schütt
23697d3f30 Fix make lint 2022-12-12 10:36:18 +01:00
Felix Schütt
fd7c5b71c5 Fix tests for listing local packages 2022-12-12 10:27:31 +01:00
Christoph Herzog
b69ccaf37b refactor(wasi): Rename Capabilities::http to http_client 2022-12-11 07:17:40 +01:00
Christoph Herzog
680ee18c20 cli: Add http client support to the CLI run command
Adds a new --http-client flag to the run command, which enables the http
client capability for the executed command.
2022-12-11 06:01:43 +01:00
Felix Schütt
575373c55a Prefer local paths over remote packages 2022-12-09 15:38:54 +01:00
Felix Schütt
ad89a82838 Add unit tests + fix bug in version parsing 2022-12-09 14:41:54 +01:00
Felix Schütt
2812110845 Fix from_binfmt_args_fallible on Linux 2022-12-09 14:12:10 +01:00
Felix Schütt
7272ec7eeb Running python works 2022-12-09 13:31:52 +01:00
Felix Schütt
bc22701cae Add downloading .tar.gz URLs and new caching in checkouts dir 2022-12-09 13:09:57 +01:00
Christoph Herzog
eb60a96bcf Merge branch 'master' into wasix-merge 2022-12-06 13:22:09 +01:00
Felix Schütt
cdd71d3da3 Add -OReleaseSafe back 2022-12-02 14:52:03 +01:00
Felix Schütt
2c88eb83a8 Do not ignore error on fs::create_dir_all 2022-12-02 14:51:22 +01:00
Felix Schütt
cdbacbb67b Remove --feature http because wasmer_registry requires HTTP deps 2022-12-02 11:56:28 +01:00
Felix Schütt
81cde2b982 Fix make lint 2022-12-02 11:51:38 +01:00
Felix Schütt
14dc05cc08 Refactor methods to filter tarballs 2022-12-02 11:47:05 +01:00
Felix Schütt
54a0b087ce Update lib/cli/src/commands/create_exe.rs
Co-authored-by: Michael Bryan <michael@wasmer.io>
2022-12-02 11:27:25 +01:00
Felix Schütt
5d4817c4a1 Undo changes, recomment out failing tests + add link to zig bug report 2022-12-01 19:46:24 +01:00
Felix Schütt
991ad55bdb Debug undefined wasmer_vm_raise_trap error 2022-12-01 12:33:40 +01:00
Felix Schütt
0822773c09 Don't ping GitHub if local tarball can be found 2022-11-30 20:16:00 +01:00
Felix Schütt
2c254a55cc Fix compilation issue in create-exe function 2022-11-30 20:16:00 +01:00
Felix Schütt
1346252a18 Fix error in searching for file path on Windows 2022-11-30 20:16:00 +01:00
ptitSeb
30a7d61943 Merge branch 'master' into feat_sharedmemory 2022-11-29 14:39:45 +01:00
ptitSeb
32137b4562 Merge branch 'master' into feat_sharedmemory 2022-11-25 13:07:37 +01:00
Felix Schütt
8676105fbb Merge branch 'master' into fix-3366 2022-11-24 21:40:43 +01:00
Felix Schütt
8674d8ceea Adress review comments and fix test 2022-11-24 19:34:41 +01:00
Felix Schütt
09cad809cc Remove debug: false 2022-11-24 19:30:48 +01:00
Felix Schütt
813d5269b7 cargo fmt 2022-11-24 18:05:26 +01:00
Felix Schütt
bc3ef99523 Print proper error message when running wasmer login 2022-11-24 17:59:04 +01:00
Felix Schütt
98f8d863d5 Add proper failure when login fails 2022-11-24 17:53:57 +01:00
Felix Schütt
351b0a6e4c Add integration test, use different spinner library to fix #3346 2022-11-24 17:25:43 +01:00
Felix Schütt
5d1d4f3116 Fix #3366 - file paths could get interpreted as URLs in wasmer run 2022-11-24 17:09:53 +01:00
ptitSeb
ffd6d6b140 Merge branch 'master' into feat_sharedmemory 2022-11-24 15:56:32 +01:00
Michael-F-Bryan
8f28ea4c9f Stdout/stderr should be inherited 2022-11-23 17:49:32 +08:00
Michael-F-Bryan
cab9e010f6 Use println!() instead of the log crate 2022-11-23 17:48:56 +08:00
ptitSeb
b86f129c44 Moved import_shared_memory to wasi specific, and use this function on the run/wasi cli command directly
Fixed linter

Fixed js build

Fixed linter
2022-11-22 16:01:23 +01:00
ptitSeb
8a0bd4b331 Added some aarch64 atomic access emitter (not finished)
Removed public Imports::import_shared_memory and try to auto-initialize shared memory directly

Fixed clippy

Added Atomic Add/Sub/And/Or/Xor operator to Singlepass/AArch64 backend

Added atomic_xchg support for Singlepass/AArch64 backend

Finished all atomic access operator for Singlepass/Aarch64 backend
2022-11-22 15:43:06 +01:00
John Sharratt's Shared Account
a5f641b4b0 Implemented shared memory for Wasmer in preparation for multithreading
Fixed linter

Fixed clippy

Cleaned up some merge leftover
2022-11-22 14:11:32 +01:00
John Sharratt's Shared Account
53c7b64d3f Removed the wasix feature flag and fixed some compile issues on JS 2022-11-22 12:50:33 +11:00
Felix Schütt
04eda8d546 Remove unnecessary clap(name = ) 2022-11-21 12:13:08 +01:00
John Sharratt's Shared Account
6774f2dfae - Converted the block_on method to another trait for better code reuse
- Fixed the wasi_wast unit tests which were not async
- Fixed an issue with the stack capture and restore syscalls
- Fixed a deadlock on the event notification read syscall
- Fixed some missing stderr messages on execution failures
- Implemented some cleanup calls when a WASI process exits
- Fixed an issue where too many file descriptors were being opened when vforking
- Fixed the stdin and stdout host implementations which were not working
- Removed wai-bindgen-rust as a dependency as it does not compile on the browser (even when optional)
2022-11-21 16:58:13 +11:00
Felix Schütt
7e304eca90 Merge branch 'master' into whoami 2022-11-20 15:03:07 +01:00
Felix Schütt
2f48a3c35e Fix unit tests 2022-11-20 12:51:08 +01:00
Felix Schütt
6141043c28 Fix unit tests 2022-11-20 11:23:43 +01:00
Felix Schütt
e9048b9e27 Merge branch 'master' into whoami 2022-11-20 11:22:47 +01:00
Felix Schütt
0d7f10ffd1 Fix #[cfg(test]] code 2022-11-20 11:17:14 +01:00