Nick Lewycky
a3fe372beb
Replace wasmer_runtime_code::memory::Atomic with std::sync::atomic atomics.
...
This means we lose op_new(), op_weak() and proxy() from the interface.
2019-08-16 17:36:11 -07:00
losfair
dbaa000e96
Re-enable snapshotting.
2019-08-16 13:08:10 -07:00
bors[bot]
2ebe93cc72
Merge #687
...
687: Fix emscripten table assertion panic r=bjfish a=bjfish
Fixes #686
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-16 15:58:45 +00:00
Brandon Fish
57e621d307
Fix emscripten test usage and fix error conditional
2019-08-16 09:57:36 -06:00
Brandon Fish
d1c9ab3539
Convert emscripten memory assertion to error
2019-08-16 09:18:51 -06:00
Brandon Fish
03cabce2d5
Fix emscripten table assertion panic
2019-08-16 09:12:46 -06:00
Syrus Akbary
6e8baf3c89
Merge pull request #684 from wasmerio/feature/add-contributing-md
...
Add contributing.md
2019-08-15 22:30:03 -07:00
Syrus Akbary
9ef986b574
Merge pull request #683 from wasmerio/feature/add-deny-non-standard-style-unused-mut
...
Add deny nonstandard-style and unused-mut lints
2019-08-15 22:28:44 -07:00
Brandon Fish
3f07cb2d25
Initial commit of contributing document
2019-08-15 20:58:52 -06:00
losfair
be4ea764a0
Update iterative_hash example for benchmarking
2019-08-15 19:37:54 -07:00
Brandon Fish
bccbbb3d8b
Add deny nonstandard-style and unused-mut lints
2019-08-15 20:18:29 -06:00
losfair
afa0600701
Cargo fmt
2019-08-15 19:13:00 -07:00
losfair
8a1f399df6
Fix NaN during first round issue in the iterative hash example.
2019-08-15 19:12:32 -07:00
losfair
6a24485999
Insert trampolines to preserve callee-saved registers for backends without register save area information.
2019-08-15 19:10:24 -07:00
Brandon Fish
98d3e04137
Fix unused mut warning
2019-08-15 20:09:51 -06:00
losfair
0a54213d4f
register_preservation_trampoline
2019-08-15 19:08:11 -07:00
losfair
7028df23ef
Allow only integers for LLVM function param/return values.
2019-08-15 19:07:03 -07:00
losfair
9471f643fd
Update iterative_hash example.
2019-08-15 19:03:39 -07:00
Brandon Fish
439e81d41e
Fix singlepass error when no function code present
2019-08-15 10:15:58 -06:00
bors[bot]
995f40564e
Merge #671
...
671: Add wasi::poll_oneoff for Unix r=MarkMcCaskey a=MarkMcCaskey
Part of #570
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-08-15 07:58:35 +00:00
Mark McCaskey
0c45707d33
implement wasi::poll_oneoff for write on Unix-like platforms
2019-08-15 15:51:16 +09:00
Mark McCaskey
d733989657
Add wasi::poll_oneoff file read test
2019-08-15 13:13:20 +09:00
losfair
1582224d61
Cargo fmt
2019-08-14 17:16:30 -07:00
losfair
9edd9ffdfe
Make lookup_*_ip public.
2019-08-14 17:14:01 -07:00
losfair
c9e3db3d94
Remove feature(core_intrinsics)
2019-08-14 16:41:44 -07:00
losfair
98ef9182d7
Run clang-format and cargo fmt
2019-08-14 16:35:40 -07:00
losfair
0e0573c73c
Merge remote-tracking branch 'origin/master' into feature/llvm-osr
2019-08-14 16:33:26 -07:00
bors[bot]
804e586196
Merge #677
...
677: Mark memory.size VM intrinsics as not modifying state, and throw.trap/breakpoint as functions which do not return. r=syrusakbary a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-08-14 20:27:56 +00:00
Mark McCaskey
ec20e325fb
Feature gate Unix-specific polling code
2019-08-14 16:38:57 +09:00
Mark McCaskey
34340692bf
Merge branch 'master' into feature/wasi-polloneoff
2019-08-14 16:14:47 +09:00
Mark McCaskey
8c03338330
Implement wasi::poll_oneoff more properly for Unix
2019-08-14 15:51:39 +09:00
Nick Lewycky
2f3c9c3e2f
Mark memory.size VM intrinsics as not modifying state, and throw.trap/breakpoint as functions which do not return.
2019-08-13 21:50:54 -07:00
bors[bot]
01f1c120d2
Merge #676
...
676: Compare float bits in spectests assert return r=bjfish a=bjfish
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 04:29:02 +00:00
Brandon Fish
8e46e797ac
Compare float bits in spectests assert return
2019-08-13 22:14:10 -06:00
bors[bot]
0ab0e9b80a
Merge #675
...
675: Add missing LLVM imported memory functions r=bjfish a=bjfish
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 03:36:46 +00:00
Brandon Fish
0bf33662d1
Add missing LLVM imported memory functions
2019-08-13 20:07:55 -06:00
bors[bot]
e05915cf72
Merge #674
...
674: Return compile error (llvm) for setting immutable global r=bjfish a=bjfish
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 01:40:38 +00:00
Brandon Fish
137ac206af
Return compile error (llvm) for setting immutable global
2019-08-13 17:59:04 -06:00
bors[bot]
d12ea66f90
Merge #673
...
673: Add memory descriptor validation r=bjfish a=bjfish
Fixes #653
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-13 22:18:54 +00:00
Brandon Fish
de8fe32dbe
Add memory validation
2019-08-13 13:04:13 -06:00
Mark McCaskey
09b056cc40
Add wip wasi::poll_oneoff work
2019-08-13 16:59:01 +09:00
Syrus Akbary
5239cdb85a
Merge pull request #668 from wasmerio/feature/update-wabt-to-fix-names-spectests
...
Update WABT dep to fix names spectests
2019-08-13 00:13:36 -07:00
Syrus Akbary
6f6c849272
Merge pull request #669 from wasmerio/feature/finalize-when-no-function-body
...
Finalize signatures & names when no function bodies
2019-08-13 00:13:20 -07:00
Brandon Fish
f22250d85a
Refactor func_count in parser
2019-08-12 21:36:17 -06:00
Brandon Fish
e76777ed9b
Finalize signatures & names when no function bodies
2019-08-12 20:22:54 -06:00
Brandon Fish
d695bd0c84
Update WABT dep to fixe names spectests
2019-08-12 15:35:32 -06:00
Syrus
a4979f9909
Remove Logo in non verbose mode
2019-08-11 23:25:50 -07:00
Syrus
8e363aa0bc
Added option for minify the total output for install
2019-08-11 23:13:58 -07:00
Syrus
f78e00c7f4
Improved Install script
2019-08-11 22:29:14 -07:00
Brandon Fish
2afdc1d25f
Merge pull request #661 from wasmerio/feature/unexclude-passing-elem-spec
...
Unexclude passing elem spec
2019-08-11 18:21:00 -06:00