Commit Graph

163 Commits

Author SHA1 Message Date
Syrus Akbary
7dd586bde5 Merge pull request #184 from wasmerio/fix-compiler-no-std
fix(compiler) Make it work without `std`
2020-07-23 08:47:56 -07:00
Ivan Enderlin
d14a793704 fix(compiler) Fix a typo in Cargo.toml. 2020-07-23 15:56:00 +02:00
Ivan Enderlin
9dbf31896d fix(compiler) Adjust wasm-common features based on compiler's features. 2020-07-23 15:46:21 +02:00
Ivan Enderlin
6df0645ab9 fix(compiler) Make it work without std.
This patch uses our `lib` module that builds an `std` module depending
of the `core` or `std` feature flag.
2020-07-23 15:09:46 +02:00
Ivan Enderlin
53a13b145d fix(compiler) Implement thiserror::Error if std is present.
`thiserror` doesn't work in `no_std` mode, see https://github.com/dtolnay/thiserror/pull/64.
2020-07-23 15:08:38 +02:00
Syrus
b06f021612 Improved Function API 2020-07-21 20:02:01 -07:00
Nick Lewycky
f1bfe0a7c2 Fix build of this test.
Fixes build portion of `cargo test --all`.
2020-07-21 11:42:22 -07:00
Ivan Enderlin
bb00de2c08 doc(compiler) Restore the Acknowledgments Section. 2020-07-20 10:26:38 +02:00
Ivan Enderlin
237eb3c1ba doc(compiler) Remove the Acknowledgments Section.
I guess it comes from a copy-paste. The `wasmer-compiler` traits have
nothing related to the the `cranelift-wasm` crate.
2020-07-16 10:01:21 +02:00
Ivan Enderlin
5678c775cd doc(compiler) Rephrase, fix typos, format. 2020-07-16 10:00:31 +02:00
Syrus Akbary
a0d7c3a287 Merge pull request #158 from wasmerio/feat-engine-native
feat(engine-native) Make it compile without the `compiler` feature
2020-07-13 13:50:23 -07:00
Nick Lewycky
50e54f6be6 Add --enable-verifier to the wasmer command line. Wire it through CompilerConfig. 2020-07-13 12:03:52 -07:00
Ivan Enderlin
0ef82fbe1f doc(compiler) Fix a typo. 2020-07-13 15:23:31 +02:00
Ivan Enderlin
3e13e78959 Merge pull request #156 from wasmerio/feat-object-size
feat(object) Infer relocation size, kind and encoding from target
2020-07-13 14:33:35 +02:00
Ivan Enderlin
99dc93adc0 chore(compiler) Remove useless empty line. 2020-07-13 11:30:01 +02:00
Nick Lewycky
635f8a4284 Remove references to non-existant clippy.toml. 2020-07-10 14:49:37 -07:00
Syrus
d93c4deaab Update dependencies 2020-07-08 00:02:04 -07:00
Syrus
92f8651312 Renamed wasmer_runtime to wasmer_vm 2020-07-07 21:26:06 -07:00
Syrus
b57a28edc7 Removed Memory plans in favor of direct styles 2020-07-07 16:50:08 -07:00
Syrus
98f2e8fe26 Remove TablePlans 2020-07-07 15:10:03 -07:00
Ivan Enderlin
209c91c707 fix(compiler) Ignore an unused argument. 2020-06-23 10:19:12 +02:00
Syrus
56c2f52001 Improved Compiler API 2020-06-22 14:58:58 -07:00
Nick Lewycky
2017acf99e Some clippy cleanup. 2020-06-20 13:43:46 -07:00
Syrus Akbary
35737cf9bb Update README.md 2020-06-19 09:25:23 -07:00
Nick Lewycky
77c3ce5a33 Add 8-byte PC-relative relocation. 2020-06-18 15:34:23 -07:00
Syrus
e604d6db49 Fixed linting 2020-06-18 13:08:52 -07:00
Syrus
83203a849b Improved tunables story 2020-06-18 12:08:55 -07:00
Syrus
769ffebb61 Improved feature-generation to be compiler-based 2020-06-18 02:11:54 -07:00
Syrus
8649f2eb79 Remove target from CompilerConfig 2020-06-17 20:26:50 -07:00
Syrus
e062e87d8b Refactored Compilers 2020-06-17 19:17:06 -07:00
losfair
0f6268af7c Remove unused imports. 2020-06-18 00:51:19 +08:00
losfair
9d27bd2318 Merge remote-tracking branch 'origin/master' into middleware 2020-06-18 00:41:42 +08:00
Syrus Akbary
48bc984833 Update lib/compiler/src/function.rs 2020-06-16 22:09:54 -07:00
Syrus Akbary
2efa44396e Apply suggestions from code review
Co-authored-by: nlewycky <nick@wasmer.io>
2020-06-16 22:07:37 -07:00
Syrus
03494ac1a2 Unify trampolines in Compilation object 2020-06-16 20:11:47 -07:00
Syrus Akbary
ca1586d3ad Update lib/compiler/Cargo.toml
Co-authored-by: Mark McCaskey <5770194+MarkMcCaskey@users.noreply.github.com>
2020-06-16 18:37:35 -07:00
losfair
0ecaac5f70 Export required types. 2020-06-17 01:43:24 +08:00
losfair
69ce68c31a Merge remote-tracking branch 'origin/master' into middleware 2020-06-17 00:52:20 +08:00
Syrus
439e4017ee Improved attributions message 2020-06-15 19:38:08 -07:00
Syrus
f2f795cd1f Added attributions in all attributed files 2020-06-15 19:30:05 -07:00
Syrus
b00f899913 Update to Cranelift 0.65, wasmparser 0.57 2020-06-15 18:00:48 -07:00
losfair
c413101f99 Remove middleware registry. 2020-06-16 00:56:18 +08:00
Syrus Akbary
f0c8542e1e Address comments from PR 2020-06-13 09:49:57 -07:00
losfair
af46df5e4c Merge remote-tracking branch 'origin/master' into middleware 2020-06-13 00:55:47 +08:00
losfair
1337a71753 Middleware builders. 2020-06-13 00:55:16 +08:00
Syrus
523c95903a Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
2020-06-11 15:48:17 -07:00
Syrus
1e85e0d528 Update version to 1.0.0-alpha.1 2020-06-11 15:31:29 -07:00
Syrus
8e24589cff Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
2020-06-11 09:58:42 -07:00
Syrus
36223364e0 Updated Wasmer versions to 1.0 2020-06-11 09:52:26 -07:00
Syrus
ff8f3c8948 Autodetect endianness based on target triple 2020-06-11 00:31:04 -07:00