Johan Andersson
36a78a23b6
Fix Windows crash on caching compiled artifact.
...
Memory clone function wasn't able to write to new reserved memory object.
Changed so allocating Memory objects with protection flag allocates commited memory.
2019-05-08 15:59:00 +02:00
Syrus Akbary
1f028e9aab
Merge pull request #420 from wasmerio/add-wapm-section-to-readme
...
Add wapm section to README
2019-05-07 07:36:09 -07:00
Mackenzie Clark
c90224621e
updated wapm-cli to 0.2.0 tag ( #427 )
2019-05-06 20:14:37 -07:00
bors[bot]
a4129123c4
Merge #426
...
426: Update0.4.1 r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-07 01:17:06 +00:00
Mark McCaskey
2d4299b325
update for 0.4.1
2019-05-06 18:14:53 -07:00
Mark McCaskey
e5dc94c7d6
update version number to 0.4.1
2019-05-06 18:02:39 -07:00
Mark McCaskey
8b51a0530f
address feedback; clarify URL
2019-05-06 16:41:59 -07:00
Syrus Akbary
e42eb3753e
Merge pull request #425 from wasmerio/fix/debug-code
...
fix debug code
2019-05-06 15:00:21 -07:00
Mark McCaskey
e40b4a2c39
fix debug code
2019-05-06 14:58:44 -07:00
bors[bot]
94e6c7318f
Merge #424
...
424: Update emscripten to run JSC r=syrusakbary a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-06 21:19:27 +00:00
Mark McCaskey
91d01d1c05
clean up warnings
2019-05-06 14:17:23 -07:00
Mark McCaskey
ab184aceea
Update emscripten to run JSC
2019-05-06 14:05:04 -07:00
bors[bot]
704c783b54
Merge #414
...
414: Exception logging (win32): Handle error codes correctly, add some more strings r=syrusakbary a=hrydgard
Ran into a situation with an unknown exception from Cranelift (will probably report that one separately). Turns out the signum was "1" though which does not seem to correspond to any of the Windows error codes, except possibly STATUS_GUARD_PAGE which is 0x80000001, but only if we lost the top bit somewhere.
On Windows, exceptions seemed to be trapped by callProtected, which is implemented here: cade9a666f/lib/win-exception-handler/exception_handling/exception_handling.c
. It did not seem to correctly store and retrieve the exception code, instead always returning 1: ```longjmp(jmpBuf, 1);```
So I fixed it. And now the log output looks like this:
```
unhandled trap at 1560d5e7bab - code #c0000005: segmentation violation
```
Co-authored-by: Henrik Rydgård <henrik.rydgard@embark-studios.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
2019-05-06 19:54:21 +00:00
bors[bot]
f2926876b3
Merge #423
...
423: codegen: Remove unused LoadError import r=bjfish a=penberg
Rustc complains that:
warning: unused import: `parse::LoadError`
--> lib/runtime-core/src/codegen.rs:7:5
|
7 | parse::LoadError,
| ^^^^^^^^^^^^^^^^
|
Co-authored-by: Pekka Enberg <penberg@iki.fi>
2019-05-06 18:44:23 +00:00
Pekka Enberg
089aab296d
codegen: Remove unused LoadError import
...
Rustc complains that:
warning: unused import: `parse::LoadError`
--> lib/runtime-core/src/codegen.rs:7:5
|
7 | parse::LoadError,
| ^^^^^^^^^^^^^^^^
|
2019-05-06 20:42:35 +03:00
Mackenzie Clark
10b4a08ca6
Merge branch 'master' into improve-exception-logging
2019-05-06 08:09:24 -07:00
bors[bot]
89b92e3305
Merge #422
...
422: Improved Emscripten debugging + optipng r=syrusakbary a=MarkMcCaskey
Improved Emscripten debugging + optipng
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Syrus <me@syrusakbary.com>
2019-05-06 00:25:53 +00:00
Syrus
ca4606516a
Added README to the examples dir
2019-05-05 17:17:01 -07:00
Syrus
a3e933df1b
Added changes to the Changelog
2019-05-05 17:03:49 -07:00
Syrus
d8028a4345
Fixed emscripten-singlepass tests call
2019-05-05 14:18:12 -07:00
Syrus
8f345e9e8c
Fixed ioctl in Unix. Fixed provied main arguments
2019-05-05 13:55:40 -07:00
Syrus
789af39f9e
Improved ioctl calls
2019-05-05 12:31:31 -07:00
Syrus
3093e65bc1
Added extra-debug option
2019-05-05 12:17:10 -07:00
Syrus
f076c04b76
Moved from println to debug the emscripten entrypoint statement
2019-05-05 12:14:25 -07:00
Syrus
eef28c19b7
Fixed emscripten entrypoint name
2019-05-05 12:13:35 -07:00
Syrus
341766dee5
Fixed format
2019-05-05 12:09:55 -07:00
Syrus
2ba680ad2f
Improved rename function
2019-05-05 12:09:27 -07:00
Syrus
10a965cc1e
Added few syscalls to run optipng
2019-05-05 11:24:57 -07:00
Syrus
90dd4bc458
Fix emtests
2019-05-05 11:21:28 -07:00
Mark McCaskey
353ff60c0f
add misc changes while debugging
2019-05-03 17:34:57 -07:00
Mark McCaskey
6d9256dd1f
fix typo in install command
2019-05-03 10:28:42 -07:00
Mark McCaskey
1e357d90e4
change 'us' to 'you' for consistency
2019-05-03 10:21:26 -07:00
Mark McCaskey
fac36a1141
Add wapm section to README
2019-05-03 10:19:35 -07:00
Syrus Akbary
c3c415fa86
Merge branch 'master' into improve-exception-logging
2019-05-02 20:29:28 -07:00
bors[bot]
7cd1cd6767
Merge #418
...
418: create wasmer dir on install for windows r=MarkMcCaskey a=xmclark
This PR creates the .wasmer dir in the home directory on windows with the inno setup installer.
Additionally, the new global wapm packages path is updated to use the correct path in the wasmer dir.
Also checking in the cargo.lock cause it hadn't been updated for 0.4.0.
Co-authored-by: Mackenzie Clark <mackenzie.a.z.c@gmail.com>
2019-05-02 22:59:29 +00:00
bors[bot]
21557e79d8
Merge #417
...
417: use $INSTALL_DIRECTORY instead of $HOME/.wasmer in install.sh r=MarkMcCaskey a=MarkMcCaskey
resolves #393
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-02 22:36:46 +00:00
Mark McCaskey
fdc6e53f6e
unescape $INSTALL_DIRECTORY in message to user
2019-05-02 15:35:48 -07:00
Mackenzie Clark
7104e1c963
create wasmer dir on install for windows
2019-05-02 15:29:35 -07:00
Mark McCaskey
49accd8dbe
use $INSTALL_DIRECTORY instead of $HOME/.wasmer in install.sh
2019-05-02 15:07:56 -07:00
Henrik Rydgård
5e37368ec9
Exception logging (win32): Handle error codes correctly, add some more strings.
2019-05-02 12:45:52 +02:00
Syrus Akbary
6c567924c2
Merge pull request #411 from Hywan/doc-readme-ruby
...
doc(readme) Add `ruby-ext-wasm`
2019-05-01 12:35:22 -07:00
bors[bot]
237768a7b3
Merge #398
...
398: Middleware system for code instrumentation. r=syrusakbary a=losfair
Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-05-01 18:33:29 +00:00
Syrus Akbary
c0a5f74d0c
Update lib/middleware-common/Cargo.toml
2019-05-01 11:32:57 -07:00
Syrus Akbary
67c4d74eb4
Update middleware version to 0.4.0
2019-05-01 11:28:14 -07:00
Brandon Fish
8d86844c5f
Merge branch 'master' into parser-middleware
2019-05-01 13:10:44 -05:00
Mark McCaskey
90d1c292b0
Merge pull request #412 from wasmerio/update-version-numbers-to-4
...
update version to 0.4.0
2019-05-01 10:07:21 -07:00
losfair
99c101f312
Merge remote-tracking branch 'origin/master' into parser-middleware
2019-05-02 00:30:58 +08:00
Mark McCaskey
2646765671
Merge branch 'master' into update-version-numbers-to-4
2019-05-01 09:27:38 -07:00
Ivan Enderlin
f2defcd615
doc(readme) Add ruby-ext-wasm
.
2019-05-01 14:50:39 +02:00
bors[bot]
da6f5ffda0
Merge #376
...
376: Make the slice::from_raw_parts call safe r=xmclark a=Kerollmops
Casting a slice into another type (i.e. from `T` to `Atomic<T>`) can be made safe for Rust by using the [`#[repr(transparent)]`](https://github.com/rust-lang/rfcs/blob/master/text/1758-repr-transparent.md ) on the `Atomic<T>` type.
This is now safe:
6478500b8f/lib/runtime-core/src/memory/view.rs (L51)
Co-authored-by: Clément Renault <renault.cle@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-05-01 00:16:26 +00:00