Felix Schütt
6f15d1a8a1
Fix build issue on linux-musl
2022-10-10 10:16:44 +02:00
Felix Schütt
25c4fd4626
Fix issue with CLI run command not finding PathBuf to wasm file
2022-10-10 09:59:02 +02:00
Felix Schütt
6eade9bdd0
Fix issue in Binfmt::debug
2022-10-09 23:59:19 +02:00
Felix Schütt
df047b08a4
Impl Debug for Binfmt
2022-10-09 23:46:47 +02:00
Felix Schütt
0ed3be1d1b
Fix clippy issues
2022-10-09 23:37:28 +02:00
Felix Schütt
5b16e058a2
Fix issue in chrono dependency
2022-10-09 23:16:39 +02:00
Felix Schütt
d0372d5707
Fix last changes from upgrading to clap v4
2022-10-09 23:10:37 +02:00
Felix Schütt
5161078d40
cargo fmt
2022-10-09 19:46:58 +02:00
Felix Schütt
5fe8167fb4
Downgrade to clap v3
2022-10-09 19:45:03 +02:00
Felix Schütt
5bc191487e
Try fixing errors when parsing CLI args: todo: undo clap migration
2022-10-07 15:57:44 +02:00
Felix Schütt
b1c3f33c9d
cargo fmt
2022-10-07 15:09:48 +02:00
Felix Schütt
862b155f82
Always set WASMER_BUILD_GIT_HASH
2022-10-07 15:09:19 +02:00
Felix Schütt
7edfd68759
cargo fmt
2022-10-07 13:44:08 +02:00
Felix Schütt
a6d9e3e63a
Map every single directory on emscripten
2022-10-07 13:35:32 +02:00
Felix Schütt
50733a536b
Try adding support for pkg_fs
2022-10-07 13:17:34 +02:00
Felix Schütt
3be8640a5f
Added --env flags for emscripten target, debugged PYTHONHOME
2022-10-06 20:04:42 +02:00
Felix Schütt
5238c8e56b
Fix errors in debug mode, implement getenv / setenv on emscripten
...
This makes it possible to inject custom environment variables
because the EmscriptenState is now sandboxed and decoupled from
the host.
2022-10-06 19:02:55 +02:00
Felix Schütt
2640a6d662
Pass filesystem mappings from wapm.toml to --mapdir
2022-10-06 15:47:26 +02:00
Felix Schütt
efdb1f4e76
cargo fmt
2022-10-06 12:00:21 +02:00
Felix Schütt
374494ef3c
Install packages correctly
2022-10-06 11:56:07 +02:00
Felix Schütt
2c1cf2e7c5
Implemented "did you mean" functionality
2022-10-05 15:43:14 +02:00
Felix Schütt
6c57e1e30f
Finished adding wasmer -vV and --help messages
2022-10-04 15:32:10 +02:00
Felix Schütt
af01356eb1
Implement wasmer -vV
2022-10-04 15:10:31 +02:00
Felix Schütt
ba8b13c3e8
Add spinner when installing package
2022-10-04 13:17:40 +02:00
Felix Schütt
d74419dfb6
Don't panic when trying to run wasmer run [package]
2022-10-04 12:55:03 +02:00
Felix Schütt
771e1e33a1
Added RunWithoutFile to prepare downloading + GraphQL schema
2022-10-04 12:10:31 +02:00
Felix Schütt
6cd80f4937
Update clap, rewrite main CLI logic
2022-10-04 10:32:57 +02:00
Felix Schütt
fef756412f
Update 3.0.0-beta -> 3.0.0-beta.2
2022-09-26 12:20:35 +02:00
Felix Schütt
58294b8d46
cargo fmt
2022-09-15 15:06:39 +02:00
Felix Schütt
219d0c0278
Use gcc instead of cc, fix wasmer/lib/c-api in wasmer_base_dir string
2022-09-15 14:46:41 +02:00
Go Murakami
26848ef439
Fix compile command for arm
2022-09-15 13:11:36 +09:00
Jiahao XU
856e2df277
Add support for cargo-binstall
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com >
2022-09-07 18:41:09 +10:00
ptitSeb
436bec735b
Using IntoBytes only for Module::deserialise (both sys and js)
2022-09-01 13:52:53 +02:00
ptitSeb
1912373e1f
The API breaking changes from future WASIX/Network/Threading addition
2022-08-26 10:46:56 +02:00
Felix Schütt
63a9a98c0d
Merge branch 'master' into fix-wasmer-cache-panic-2
2022-08-25 12:21:23 +02:00
Felix Schütt
a869daea91
Fix cache path not being present during installation of cross-tarball
2022-08-24 18:07:35 +02:00
Felix Schütt
6988025cd0
Fix make lint
2022-08-23 15:24:13 +02:00
Manos Pitsidianakis
4fdbd344af
create-obj: remove dead code
2022-08-21 16:25:52 +03:00
Manos Pitsidianakis
bc9ed1a5c1
create-exe: use absolute paths everywhere
2022-08-21 16:25:52 +03:00
Manos Pitsidianakis
306347e1b9
create-exe: fix serialized create-exe not working
...
Unified generated objects interfaces: both static and serialized objects
expose the same function signature to create the module:
wasm_module_t* wasmer_object_module_new(wasm_store_t* store, const char* module_name);
2022-08-21 16:25:52 +03:00
Manos Pitsidianakis
70f30e4458
create-exe: Prefer libwasmer-headless when cross-compiling
2022-08-12 17:41:29 +03:00
Manos Pitsidianakis
74dae4a716
create-exe: list supported cross-compilation target triples in help text
...
Closes #3087
2022-08-11 18:51:57 +03:00
Manos Pitsidianakis
cad678e0d1
create-exe: use cached wasmer tarballs for network fetches
...
Closes #3085
2022-08-11 17:54:29 +03:00
Syrus Akbary
5cb63cc8e5
Added version to the wasmer cli
2022-08-10 17:39:48 +02:00
Manos Pitsidianakis
c570b1471a
Bump version to 3.0.0-beta in Cargo manifests
2022-08-08 19:56:35 +03:00
Wolfgang Silbermayr
1c67ec7894
Resolve clap TODO items
2022-08-08 15:51:39 +02:00
Wolfgang Silbermayr
2a385c7882
Migrate to clap from structopt
2022-08-08 15:51:37 +02:00
Manos Pitsidianakis
ba543fc4f7
Add support for cross-compiling in create-exe with zig cc WIP ( #3076 )
...
* Add support for cross-compiling in create-exe with zig cc WIP
zig version must be at least 0.10.0-dev.3431+4a4f3c50c
Closes #3042
* Add support for cross-compiling in create-exe with zig cc WIP
zig version must be at least 0.10.0-dev.3431+4a4f3c50c
Closes #3042
* Add SSE2 features to the CPU
* Add SSE2 features to the CPU
* create_exe: locate zig binary and check minimum version
Check that `zig` binary version is at least `0.10.0`
* create-exe: refactor cross-comp cli parsing and error checks
* create-exe: add -lunwind for cross-comp with zig
* Set the proper library for windows
* create-exe: add path exists check for --tarball value
* create-exe: add -msvc environment in triple_to_zig_triple()
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2022-08-08 15:32:15 +02:00
Felix Schütt
520314bbf0
Fix errors from "make lint"
2022-08-05 15:40:32 +02:00
Manos Pitsidianakis
e002240c2f
wasmer-cli: Allow create-exe to receive a static object as input
...
Allow create-exe to receive an object created by `wasmer create-obj`
instead of a wasm module as input to skip the compilation part. The
accompanying header file must be specified with the `--header` flag in
order for the input file to be recognized as an object.
2022-08-04 09:24:30 +03:00