Nick Lewycky
3e0d299227
Update to latest inkwell which adds context lifetime to basic blocks.
2020-03-02 14:25:30 -08:00
bors[bot]
115a6573a9
Merge #1261
...
1261: Fix our side of wasmparser typo. r=MarkMcCaskey a=nlewycky
This is a `cargo update` plus change to fix for ac6df05378
.
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2020-03-02 21:53:13 +00:00
Nick Lewycky
d5581331a2
Fix our side of wasmparser typo.
2020-03-02 11:16:21 -08:00
MikaelUrankar
48fcc8af09
Recognize FreeBSD
2020-03-02 15:41:41 +01:00
Syrus
7a88a320c7
Allow / in mapdir wasm path
2020-02-29 08:47:25 -08:00
Syrus
3f456db4ad
Updated headers
2020-02-29 08:45:48 -08:00
losfair
d443ad8d40
Remove outdated comment.
2020-02-29 11:15:09 +08:00
losfair
4012645aee
Fix CodeMemory
doc comments.
2020-02-29 11:13:34 +08:00
bors[bot]
85a3bb7148
Merge #1244
...
1244: feat(interface-types) Update to last standard version r=MarkMcCaskey a=Hywan
WIP
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2020-02-28 18:35:28 +00:00
losfair
2ddf9ad4c8
Disallow "fat" closures.
2020-02-28 22:16:29 +08:00
losfair
6516243e8a
Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2
2020-02-28 11:54:13 +08:00
losfair
31a72e59fb
Rename ErasedFunc to DynamicFunc and fix leaky PolymorphicContext
.
2020-02-28 11:41:36 +08:00
Mark McCaskey
91808b9df2
Update test-rest to explicitly test each crate
2020-02-27 14:22:26 -08:00
losfair
32915f0077
Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2
2020-02-27 23:49:10 +08:00
Mark McCaskey
0593965459
Make gdb jit symbol weak linking default in llvm-backend features
2020-02-26 19:41:53 -08:00
Mark McCaskey
b5cbb9df60
Fix test and build for musl
2020-02-26 19:07:30 -08:00
Mark McCaskey
dbb2ececf8
Work around unstable linkage attribute
2020-02-26 18:32:40 -08:00
Mark McCaskey
a089cf5a0c
Link GDB JIT exposed global and fn as "linkonce"
...
This is required because LLVM exposes its own
2020-02-26 18:05:24 -08:00
Mark McCaskey
3691c80b7d
Add generate_debug_info field to test
2020-02-26 17:29:18 -08:00
Mark McCaskey
56e47c17b0
Revert Wasm parsing to improved old style, fixing singlepass
2020-02-26 16:35:25 -08:00
Mark McCaskey
cb20cd9b2d
Merge branch 'master' into feature/debug-prototype2
2020-02-26 14:39:02 -08:00
Mark McCaskey
a8b4f2a1e4
Update clif option string, fix table parsing to match AnyFunc
2020-02-26 13:25:41 -08:00
Mark McCaskey
0a92d9c65e
Update LLVM backend to wasmparser 0.51.3
2020-02-26 13:07:31 -08:00
Mark McCaskey
21fd95d760
Update wasmparser to 0.51.3 and clif forks to 0.59
2020-02-26 12:51:56 -08:00
Ivan Enderlin
c0933c52ca
feat(interface-types) Fix clippy errors and warnings.
2020-02-26 17:02:52 +01:00
Ivan Enderlin
bff63e3fad
Merge branch 'master' into feat-interface-types-update-to-last-standard-version
2020-02-26 16:22:56 +01:00
Ivan Enderlin
4e82d59ea1
feat(interface-types) Implement lifting and lowering instructions.
...
List from https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/working-notes/instr.md .
2020-02-26 16:20:39 +01:00
Ivan Enderlin
f951b6aa53
feat(interface-types) Remove abandonned instructions.
2020-02-26 15:48:00 +01:00
Ivan Enderlin
350a30507f
fix(interface-types) arg.get
's index is of type u32
.
2020-02-26 15:42:29 +01:00
Ivan Enderlin
3653c42e23
test(interface-types) Test adapter to binary.
2020-02-26 15:38:59 +01:00
Ivan Enderlin
4b7cd3a875
doc(interface-types) Fix a typo.
2020-02-26 15:34:04 +01:00
Ivan Enderlin
45283d4f52
test(interface-types) Fix all tests based on previous commits.
2020-02-26 15:32:14 +01:00
losfair
eb89720d5a
Merge remote-tracking branch 'origin/feature/polymorphic-v2' into feature/polymorphic-v2
2020-02-26 17:09:10 +08:00
losfair
b0877b26e5
Add safety notice for TrampolineBufferBuilder::remove_global
.
2020-02-26 17:07:56 +08:00
Heyang Zhou
a438a644b6
fold() -> sum()
...
Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-26 17:01:36 +08:00
Heyang Zhou
292e42addc
Update lib/runtime-core/src/typed_func.rs
...
Co-Authored-By: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-26 17:01:16 +08:00
losfair
262d431b49
Remove unneeded allow(dead_code).
2020-02-26 16:59:31 +08:00
losfair
a0ea1af71f
Remove pub(self).
2020-02-26 16:54:33 +08:00
losfair
96d9e39913
Specify imports instead of using a *
.
2020-02-26 13:40:02 +08:00
Mark McCaskey
52d4dac450
Rename feed_event
's loc
to source_loc
2020-02-25 17:15:17 -08:00
Mark McCaskey
6f5ebb564c
Allow building clif-backend without wasm-debug
2020-02-25 17:08:09 -08:00
losfair
40d823e298
Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2
2020-02-26 01:45:18 +08:00
losfair
80f824e708
Auto-release trampolines.
2020-02-26 01:45:11 +08:00
losfair
b7c9c1843a
Add dynamic executable memory allocation & tests to trampolines.
2020-02-26 01:44:50 +08:00
Mark McCaskey
ce21910077
Prepare for 0.14.1 release
...
0.14.1 differs from 0.14.0 primarily in that the GNU/Linux build is
built on Ubuntu 16.04 instead of 18.04, meaning we'll use an earlier
version of GLIBC.
2020-02-24 13:20:12 -08:00
losfair
b67acbc0e3
Add ErasedFunc
for type-erased functions.
2020-02-25 01:19:19 +08:00
Ivan Enderlin
0c5d46eec9
feat(interface-types) Re-implement interface kinds.
...
Adopt a flat structure: Flat resolved imports, flat resolved exports,
flat resolved types etc.
Also, use the latest textual format for adapters & co.
2020-02-24 18:12:01 +01:00
losfair
2020901d75
Merge remote-tracking branch 'origin/master' into feature/polymorphic-v2
2020-02-25 00:56:46 +08:00
Ivan Enderlin
c64febdad6
feat(interface-types) Re-implement Type
.
...
The semantics of “types” have changed since the previous draft. Now, a
type is like a regular WebAssembly type but with Interface Types.
2020-02-24 16:23:31 +01:00
Ivan Enderlin
d1ed647efc
feat(interface-types) Forwarded adapters have been removed.
2020-02-24 15:56:11 +01:00