Patrick Ventuzelo
c578150e1c
Merge branch 'master' into ventuzelo/fix-857-panic-loader-parameter
2019-12-11 10:45:55 +01:00
Syrus Akbary
92fcce2c21
Merge branch 'master' into feature/invoke-arg-parsing
2019-12-10 17:55:24 -08:00
Mark McCaskey
bc8d5a542c
Return parse error strings rather than printing them in invoke parse
2019-12-10 17:37:22 -08:00
Mark McCaskey
0a9c41b313
Integrate Ivan's arg parsing code into --invoke
...
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2019-12-10 17:12:35 -08:00
Syrus Akbary
8e4fdcf5f1
Update src/bin/wasmer.rs
2019-12-10 16:10:33 -08:00
Syrus Akbary
a52fadf54e
Improve wasmer invoke function
2019-12-10 16:07:14 -08:00
bors[bot]
63a588780c
Merge #1033
...
1033: Improve default compiler story for wasmer cli r=MarkMcCaskey a=MarkMcCaskey
This PR needs the following to be ready to ship:
- [x] Verified make commands are still fine
- [x] Verified this doesn't do anything bad in CI
This PR adds:
- compile_error if no backend is specified in wasmer.rs
- readds clif as the default
- improves the error message saying "specified backend not found" to include the name of the backend that it couldn't find
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
2019-12-06 19:55:04 +00:00
Mark McCaskey
0580a117da
Improve compile error message when no backends set
2019-12-06 11:54:33 -08:00
bors[bot]
b336726177
Merge #1036
...
1036: Add experimental invoke support to WASI in wasmer cli r=MarkMcCaskey a=MarkMcCaskey
Resolves #1024
This PR also does a bit of code clean up
# Review
- [ ] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
2019-12-06 18:37:16 +00:00
Mark McCaskey
d2f5690cae
Improve warning message when invoking WASI functions
2019-12-06 10:36:45 -08:00
Mark McCaskey
448faafd0d
Apply cargo fmt after GitHub merge
2019-12-06 10:28:20 -08:00
Mark McCaskey
d237bda463
Merge branch 'master' into fix/default-compiler-wasmer-cli
2019-12-06 10:27:53 -08:00
Mark McCaskey
e32a1a6378
Update from feedback; add changelog entry
2019-12-06 10:24:43 -08:00
Ivan Enderlin
72c8b66a08
Merge branch 'fix-wasi-get-version' of github.com:Hywan/wasmer into fix-wasi-get-version
2019-12-06 14:02:49 +01:00
Ivan Enderlin
f8385e2757
feat(bin) wasmer
requires a strict WASI version detection.
2019-12-06 14:02:02 +01:00
Nick Lewycky
8d3cf874cd
Add the ability to pass backend specific options through CompilerConfig.
...
Use this to replace wasmer_llvm_backend::GLOBAL_OPTIONS.
2019-12-05 12:13:51 -08:00
Mark McCaskey
356720efd2
Add experimental invoke support to WASI in wasmer cli
2019-12-02 16:53:15 -08:00
Mark McCaskey
ab111443be
Improve default compiler story for wasmer cli
...
This commit reenables the clif compiler as the default for wasmer cli,
updates an error message, and adds a compile_error if no backends are enabled.
2019-12-02 15:50:34 -08:00
Asami Doi
fd0df9946b
Add "auto" backend to change the backend depending on the wasm file size
2019-11-27 20:04:35 +09:00
Mark McCaskey
bb1e7a8d78
Prepare for 0.11.0 release
2019-11-22 11:18:06 -08:00
losfair
87f4183440
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-22 09:09:01 +08:00
losfair
ee7b0d625a
Skip push/pop code version on Windows.
2019-11-22 08:07:24 +08:00
Mark McCaskey
36a26717c2
Merge branch 'master' into feature/add-support-for-new-wasi
2019-11-21 10:58:05 -08:00
Mark McCaskey
be217e8f8e
Update from feedback, fix CI issues, update wasi-test
2019-11-21 10:57:04 -08:00
losfair
4dd810bbac
Ensure code version metadata is pushed properly.
2019-11-22 02:23:51 +08:00
losfair
73cc86de0c
Fix compilation errors with cranelift.
2019-11-21 23:37:17 +08:00
losfair
5f26fcd633
Make cranelift optional and enable singlepass by default on aarch64.
2019-11-21 23:31:10 +08:00
losfair
df43759a67
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-21 23:12:37 +08:00
Syrus
dc01afb3b5
Use structopt clap instead of global clap
2019-11-20 17:28:43 -08:00
Syrus
a71b9519c4
Fix lint issues
2019-11-20 17:19:42 -08:00
Syrus
274367b152
Fixed CLI arguments issue
2019-11-20 17:15:20 -08:00
Mark McCaskey
76e346b708
Clean up from feedback, update changelog
2019-11-20 15:50:46 -08:00
Mark McCaskey
b2d19e1f51
Merge branch 'master' into run-without-run
2019-11-20 15:47:40 -08:00
Mark McCaskey
cb7fcb9452
Simplify default run logic
2019-11-20 15:14:25 -08:00
Syrus
1685455eb6
Allow to do wasmer execution without the run
argument
2019-11-20 14:50:37 -08:00
losfair
28ebe5f758
Rustfmt
2019-11-20 01:56:13 +08:00
losfair
d56fd96395
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-20 01:54:34 +08:00
losfair
93f096b726
Fix lint errors when singlepass is disabled.
2019-11-20 01:52:33 +08:00
bors[bot]
8ffd380006
Merge #973
...
973: Add sign extension spec tests; add sign extension to singlepass r=nlewycky a=MarkMcCaskey
Adds missing spectests from official repo, implements instructions for singlepass
# Review
- [ ] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com>
2019-11-18 22:16:49 +00:00
bors[bot]
e568c4a374
Merge #972
...
972: Prepare for 0.10.2 release r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-11-18 19:44:33 +00:00
Mark McCaskey
344132cc89
Merge branch 'master' into feature/singlepass-sign-extension
2019-11-18 11:38:12 -08:00
Mark McCaskey
8b6a7b77fc
Clean up from feedback
2019-11-18 11:36:49 -08:00
losfair
08beb99baa
Fix popcnt.
2019-11-17 05:15:10 +08:00
losfair
1db6425cd5
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-17 04:36:22 +08:00
Mark McCaskey
7631aee4f4
Add sign extension spec tests; add sign extension to singlepass
2019-11-15 21:54:34 -08:00
anb
3b2d751c55
Enable compilation for specific target
...
By exposing the target information through `CompilerConfig`,
compiler(only LLVM at the moment) could create a machine with
different CPU feature flags other than current host, which makes it
capable to "cross compile" to some degree.
Update #959
2019-11-15 18:51:59 -08:00
Mark McCaskey
cebcb4c927
Prepare for 0.10.2 release
2019-11-15 14:55:53 -08:00
Syrus
3d3636059a
Revert "Improved wasmer invoke based on feedback"
...
This reverts commit f3b7c6b321
.
2019-11-15 14:04:48 -08:00
Syrus
f3b7c6b321
Improved wasmer invoke based on feedback
2019-11-15 10:41:18 -08:00
Syrus
7b3093ff7f
Added invoke option to the command
2019-11-14 12:07:53 -08:00