Commit Graph

378 Commits

Author SHA1 Message Date
Mark McCaskey
d81c9dd686 Fix up Cargo manifests for publishing Wasmer 2020-08-17 10:41:14 -07:00
Mark McCaskey
e06ca4ffd2 Prepare for 1.0.0-alpha01.0 release
This is the first alpha release of `1.0.0`: expect breaking changes.

The version suffix `alpha01.0` was chosen so that we can ship updates
that automatically update with the latter number and can prevent
auto-updates by incrementing the former number (which is not actually
a number as far as semver is concerned).

Also because crates.io sorts versions lexicographically, it will
display the wrong readme if we get to alpha10, so we pad with an extra
0 just in case we need more than 9 releases of alpha.
2020-08-14 16:08:44 -07:00
Mark McCaskey
5049c543dc Rename wasm-common crate to wasmer-types 2020-08-13 17:59:26 -07:00
Nick Lewycky
fadd5d6699 Remove nearly-all mentions of reborn. 2020-08-13 11:32:14 -07:00
Nick Lewycky
15b3a35e0c Don't clone function body data. 2020-08-07 14:31:36 -07:00
Nick Lewycky
037922bbf2 Change this API to return an Option that's None when it's unimplemented and Some(Result<...>) when it is. 2020-08-07 14:26:53 -07:00
Syrus
701973ffae Make Native Engine work with conditional native compilation 2020-08-07 11:35:42 -07:00
Nick Lewycky
2c2da8ec3c Wire up experimental_native_compile_module for LLVM.
Move Symbol and SymbolRegistry to wasmer_compiler crate.
2020-08-05 17:44:52 -07:00
Nick Lewycky
02c62657f5 Add experimental_native_compile_module and initial implementation changing native engine to use it. 2020-08-05 17:12:17 -07:00
Syrus
48dd090da6 Updated build links 2020-07-29 17:30:15 -07:00
Syrus
a732159514 Use better naming for module functions 2020-07-26 12:02:45 -07:00
Syrus
6785e7e7ad Move TableInitializer to wasm_common 2020-07-26 11:47:30 -07:00
Syrus
9ccaf70f70 Renamed table_elements to table_initializers 2020-07-25 01:51:09 -07:00
Syrus Akbary
371fe695b2 Update README.md 2020-07-24 23:06:23 -07:00
Syrus
79034f069d Improve crate readmes 2020-07-24 15:33:12 -07:00
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