Syrus Akbary
10dccd9556
Merge branch 'master' into feature/llvm-use-floats
2019-12-18 15:07:43 -08:00
Mark McCaskey
caa75fa157
Merge branch 'master' into wat
2019-12-18 15:42:14 -05:00
Mark McCaskey
7d77511ad5
Additional clean up, cargo update to fix merge issue
2019-12-18 15:24:42 -05:00
Nick Lewycky
5d0429989a
Remove type_to_llvm_int_only, only use type_to_llvm.
2019-12-18 11:53:48 -08:00
Mark McCaskey
4539ef44d0
Rename to experimental-io-devices and clean up for release
2019-12-18 14:10:54 -05:00
Stephan Renatus
b5b8484f6a
docs: fix markup runtime-core docs
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-12-18 15:06:46 +01:00
Jasper-Bekkers
22b3a06b40
Skip formatting test_func_arity_n!
invocations with more then 15 parameters
2019-12-18 13:22:22 +01:00
Jasper-Bekkers
ee2e595e5b
Add more parameters to Func
2019-12-18 12:36:19 +01:00
bors[bot]
49c512b2c5
Merge #1075
...
1075: Add include guards for WASI APIs in runtime-c-api r=syrusakbary a=MarkMcCaskey
Improves correctness, but the readability does suffer.
In the future we should probably have separate header files or find a way to merge the conditional includes
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 03:15:33 +00:00
bors[bot]
d3d328189f
Merge #1077
...
1077: Improve some doc comments relating to type-safe indexing r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-18 00:51:46 +00:00
Mark McCaskey
13b097e8c3
Improve the wording of typed index doc comments.
2019-12-17 19:10:36 -05:00
Mark McCaskey
d165a85743
Improve some doc comments relating to type-safe indexing
2019-12-17 18:45:07 -05:00
Nick Lewycky
6a0a4390c1
Use function defined in wasmer-runtime-core instead of our own copy of it.
2019-12-17 15:12:54 -08:00
Mark McCaskey
6618750ebd
Add include guards for WASI APIs in runtime-c-api
2019-12-17 16:25:26 -05:00
Syrus Akbary
83fded4f20
Merge branch 'master' into feature/emscripten-in-c-api
2019-12-17 10:54:21 -08:00
losfair
1681af7e1d
Merge remote-tracking branch 'origin/master' into fix/aarch64-cleanup
2019-12-17 23:27:53 +08:00
bors[bot]
c02846a147
Merge #1069
...
1069: Add fn for splitting borrow of memory & data in Ctx, use in WASI r=MarkMcCaskey a=MarkMcCaskey
Fixes a soundness issue / some undefined behavior
# 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-17 00:55:56 +00:00
Mark McCaskey
bb90cffac9
Address feedback; improve emscripten fn names in C API
2019-12-16 19:43:57 -05:00
Mark McCaskey
2819821ab7
Fix typo in doc comment
...
Co-Authored-By: nlewycky <nick@wasmer.io>
2019-12-16 16:37:34 -08:00
Mark McCaskey
9ccb59eae5
Add minor changes to runtime/vm doc comments + make fns const fns
2019-12-16 18:27:37 -05:00
Mark McCaskey
15c52fd743
Update doc comment on borrow splitting ctx fn
2019-12-16 18:16:20 -05:00
Mark McCaskey
a2b47bd591
Update changelog, clean up, fix test
2019-12-16 18:06:37 -05:00
Mark McCaskey
05012f9514
Update Inkwell
2019-12-16 16:51:33 -05:00
Mark McCaskey
06d4897d11
Merge branch 'master' into feature/emscripten-in-c-api
2019-12-16 13:50:12 -08:00
Mark McCaskey
bb344c1ab1
Add fn for splitting borrow of memory & data in Ctx, use in WASI
2019-12-16 16:48:52 -05:00
bors[bot]
76800c7367
Merge #1032
...
1032: Fix abort signature in emscripten ABI r=MarkMcCaskey a=MarkMcCaskey
Needs tests; this is preventing python on wapm from working
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-16 20:48:03 +00:00
Mark McCaskey
e86b3941d0
Update Emscripten API layout; expose inner parts to to C API; add test
2019-12-16 15:45:28 -05:00
losfair
912c2f8996
Run cargo fmt.
2019-12-17 00:36:00 +08:00
losfair
5521352f52
singlepass: Use a valid instruction as the inline breakpoint marker. (AArch64)
2019-12-17 00:33:18 +08:00
losfair
4d7eec10e9
fault, state: Cleanup and keep consistent with backend.
2019-12-17 00:32:26 +08:00
losfair
57615e5673
runtime-core/backend: Add comments and cleanup.
2019-12-17 00:31:47 +08:00
bors[bot]
598fbfa44a
Merge #1063
...
1063: Add more doc comments to our WASI implementation r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-14 01:13:40 +00:00
Mark McCaskey
24e0e34fb2
Add more doc comments to our WASI implementation
2019-12-13 17:11:13 -08:00
Mark McCaskey
f1c95a81ab
Add foundational emscripten functions and types to C API
2019-12-13 14:02:48 -08:00
Syrus Akbary
952309a36b
Merge branch 'master' into feature/llvm-on-arm
2019-12-13 13:03:51 -08:00
Syrus Akbary
4aafa45a7a
Merge branch 'master' into capi-multiple-backends
2019-12-12 17:06:10 -08:00
Syrus
39f5a79254
Test the capi with multiple backends
2019-12-12 16:38:58 -08:00
bors[bot]
22dcbcc074
Merge #1059
...
1059: Add doc comments for WASI FD associated constants r=MarkMcCaskey a=MarkMcCaskey
I want to try out something I'm going to call "daily docs" where I write documentation for one thing every day
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-12-12 23:57:35 +00:00
Mark McCaskey
c11d19e759
Add doc comments for WASI FD associated constants
2019-12-12 15:48:58 -08:00
Mark McCaskey
efaae9f12f
Update folder path
2019-12-12 12:00:30 -08:00
Mark McCaskey
dd6c458720
Add KeyRelease, prevent key repeat, update minifb
2019-12-12 11:51:01 -08:00
Patrick Ventuzelo
6189c9ae54
rename some variable, add more precise error message, use checked_sub everywhere needed in state.rs
2019-12-11 15:25:21 +01:00
Syrus Akbary
298adfd338
Merge branch 'master' into feature/runtime-error-send
2019-12-10 13:59:12 -08:00
Mark McCaskey
2dcb37b4be
Update key codes to be somewhat similar to deprecated web API
2019-12-10 11:14:59 -08:00
Nick Lewycky
0a278c55ee
For error handling and breakpoints, use Box<Any + Send> instead of Box<Any>.
2019-12-09 21:00:01 -08:00
Patrick Ventuzelo
a0c628c063
fix unwrap bug + replace assert, unreachable in singlepass codegen
2019-12-09 15:18:08 +01:00
Nick Lewycky
f3ab59eace
Don't try to initialize a target whose inkwell feature flag was not enabled.
2019-12-06 20:01:20 -08:00
Nick Lewycky
d227f19f8d
super:: in this case is just crate:: in disguise.
2019-12-06 17:51:15 -08:00
Nick Lewycky
7162906297
Initial commit of AArch64 support for the llvm backend.
2019-12-06 17:23:39 -08:00
bors[bot]
a180721eb9
Merge #1042
...
1042: Make regression test work in release builds too. r=nlewycky a=nlewycky
Fix this regression test to detect the bug it was looking for in release builds too.
This bug triggered an assertion failure in debug, and by examining the pre-opt IR, we can check for the bug in release mode too.
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-12-06 23:36:48 +00:00