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
Syrus
360407423a
Merge branch 'master' into cranelift-update
...
# Conflicts:
# lib/engine-jit/src/code_memory.rs
# lib/engine-jit/src/engine.rs
2020-06-10 23:06:01 -07:00
Syrus
dbd37e6740
Cranelift in Unix working all the way with unwind info
2020-06-10 22:33:25 -07:00
Syrus
e2cafd07da
Improved compilation with Dwarf
2020-06-10 21:37:36 -07:00
Syrus
eaf85c2bfe
Added partial support for EH_FRAME in Cranelift for unwind
2020-06-10 20:44:44 -07:00
Syrus
803c896946
Merge branch 'master' into cranelift-update
...
# Conflicts:
# lib/compiler-cranelift/Cargo.toml
# lib/compiler-cranelift/src/debug/mod.rs
# lib/compiler-cranelift/src/lib.rs
# lib/compiler/src/unwind.rs
# lib/engine-jit/src/code_memory.rs
# lib/engine-jit/src/function_table.rs
# lib/engine-jit/src/lib.rs
# lib/wasm-common/Cargo.toml
2020-06-09 18:44:41 -07:00
Ivan Enderlin
05261d4094
chore(compiler) Remove a useless import.
2020-06-09 14:36:47 +02:00
Ivan Enderlin
9a03682a99
chore(compiler) Replace structure name by Self.
2020-06-09 14:29:16 +02:00
Syrus
3b5da48251
Added mock for FunctionMiddleware trait
2020-06-08 15:35:05 -07:00
Syrus
5ec1addae1
Use middleware reader
2020-06-08 13:30:38 -07:00
Syrus
0ee70d3579
Added base MiddlewareBinaryReader
2020-06-08 12:41:44 -07:00
Syrus Akbary
acd6c2e693
Update lib/compiler/src/target.rs
...
Co-authored-by: nlewycky <nick@wasmer.io >
2020-06-04 16:16:14 -07:00
Syrus
fa6de35944
Added support for custom cpu features
2020-06-04 15:50:03 -07:00
Syrus
cca551be4a
Added first compiler target iteration
2020-06-04 13:21:08 -07:00
Nick Lewycky
04f2db1b82
Export wptype_to_type from wasmer_compiler.
...
Also fix up its error message when it fails.
Use it in compiler-llvm and remove one of compiler-llvm's copies of this function.
2020-06-02 15:45:31 -07:00
Syrus
abbd39c50b
Refactor trampoline compilation
2020-05-29 19:37:03 -07:00
Ivan Enderlin
f3c389acd9
doc(compiler) Fix examples.
2020-05-28 12:54:16 +02:00
Syrus
17bca3cf8e
Use minor versions instead of patch
2020-05-27 17:42:47 -07:00
Ivan Enderlin
e3899045a1
feat(compiler) Simplify wasmparser re-export.
2020-05-25 11:15:21 +02:00
Syrus
5e161d3091
Use more flexible implementation for custom sections
2020-05-22 11:22:49 -07:00
Ivan Enderlin
e7036376c8
feat(compiler) Compute custom sections.
2020-05-22 15:51:45 +02:00
Syrus
b6eb44e46e
Merge branch 'master' into singlepass
...
# Conflicts:
# lib/compiler-singlepass/src/compiler.rs
# lib/compiler-singlepass/src/config.rs
# lib/compiler/src/function.rs
2020-05-20 11:37:19 -07:00
Nick Lewycky
6995f2a7c7
Fix the build.
...
Use crate::lib::std instead of crate::std.
Add 'borrow' to crate::lib.
HashMap doesn't appear in crate::lib at all, and only place it's used is lib/compiler/src/translator which has other plain std:: uses, so don't try to no_std that file.
2020-05-20 11:06:43 -07:00
losfair
32461a6938
Resolve review comments.
2020-05-21 00:53:41 +08:00
Ivan Enderlin
25f3cc53bc
Merge pull request #32 from Hywan/fix-compiler-no-default-features
...
fix(compiler) Fix features
2020-05-20 14:26:35 +02:00
Syrus
12b353ca7d
Merge branch 'master' into singlepass
...
# Conflicts:
# Cargo.lock
# Cargo.toml
# lib/compiler/src/section.rs
2020-05-19 20:01:43 -07:00
Syrus
09e057338a
Renamed Module to ModuleInfo
2020-05-19 18:47:50 -07:00
Syrus
ae8dcfcb27
Make PIC optional for compilers
2020-05-19 16:56:56 -07:00
Ivan Enderlin
f9ae55d5d0
fix(compiler) std and core are mutually exclusive features.
2020-05-19 09:44:18 +02:00
Ivan Enderlin
40eea02af6
fix(compiler) Make it compile with no_std + core.
2020-05-19 09:36:25 +02:00
Ivan Enderlin
63f5cd5302
fix(compiler) Make it compile with or without std.
2020-05-19 09:24:16 +02:00
Syrus
f3bb2241f0
Fixed linting issues
2020-05-18 17:41:25 -07:00
Syrus
88b4533832
Merge branch 'master' into native-engine
...
# Conflicts:
# Cargo.lock
# lib/api/src/externals.rs
# lib/compiler/src/relocation.rs
# lib/engine-jit/src/link.rs
# lib/engine/src/engine.rs
2020-05-18 17:26:49 -07:00
Syrus
f715a74e00
Fixed linting
2020-05-18 15:21:03 -07:00
Syrus
ace11e6476
Merge branch 'master' into singlepass
...
# Conflicts:
# lib/compiler-singlepass/src/codegen_x64.rs
# lib/compiler-singlepass/src/common_decl.rs
# lib/compiler-singlepass/src/emitter_x64.rs
# lib/compiler-singlepass/src/lib.rs
# lib/compiler-singlepass/src/machine.rs
# lib/engine-jit/src/engine.rs
# lib/engine-jit/src/serialize.rs
2020-05-18 15:16:45 -07:00
Syrus Akbary
3c4b8a9777
Merge pull request #29 from Hywan/doc-compiler-fix-links
...
doc(compiler) Fix links and merge `allow` directives
2020-05-18 13:13:33 -07:00
Syrus Akbary
9981a51f8f
Merge pull request #23 from wasmerio/host-trampolines
...
Improved trampolines adding support for Dynamic functions
2020-05-18 13:12:37 -07:00
Ivan Enderlin
e70ed0303d
fix(compiler) Fix compilation errors when serde is absent.
2020-05-18 21:13:05 +02:00