Mark McCaskey
52cbb60743
Fix up tests for CI
2020-04-06 11:42:44 -07:00
Mark McCaskey
7ca721bd83
Update from feedback
...
Deprecate more methods on `Instance`, add `into_iter` method on
`Exports`, add FuncSig to ImportType and other updates.
2020-03-30 17:38:51 -07:00
Mark McCaskey
2fb8f8197b
Deprecate Instance::func
and Instance::dyn_func
2020-03-26 17:11:37 -07:00
Syrus
5e2488c1ea
Fixed lint
2020-03-14 15:38:16 -07:00
MikaelUrankar
fcbdada259
Port to FreeBSD
2020-01-28 21:49:55 +01:00
losfair
8845e1104b
Fix musl compatibility issues.
2020-01-29 00:38:39 +08:00
Mark McCaskey
12f7416a85
Update logging to use log
, add command line flag to toggle it
2020-01-14 12:41:46 -08:00
Mark McCaskey
06d4897d11
Merge branch 'master' into feature/emscripten-in-c-api
2019-12-16 13:50:12 -08: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
Nick Lewycky
3381e8867c
Fix some assorted warnings.
2019-12-02 17:00:37 -08:00
Mark McCaskey
e8b162df06
Fix abort and _abort to be different
2019-12-02 15:32:14 -08:00
Mark McCaskey
cd946f1d27
Fix abort signature in emscripten ABI
2019-12-02 15:09:42 -08:00
Mark McCaskey
5234897989
Improve portability of code by using c_char
2019-12-02 11:30:30 -08:00
Artyom Pavlov
56475594e9
compilation error fix
2019-10-28 17:57:29 +00:00
newpavlov
b67f2c9f18
use getrandom instead of rand
2019-10-28 18:33:15 +03:00
Patrick Ventuzelo
4b3880c88b
add details when calling unimplemented!
2019-10-03 11:26:54 +02:00
Patrick Ventuzelo
ac321846e3
Merge branch 'master' into ventuzelo/fix-653-panic-memorydescriptor
2019-09-24 09:10:45 +02:00
Syrus
9942d3ae98
Improved Emscripten / WASI autodetection
2019-09-22 18:23:22 -07:00
Azure Pipelines
009c123332
Fixed emscripten main functions
2019-09-22 17:29:12 -07:00
Mark McCaskey
7f2c532594
Allow dead code in emscripten WasmPtr
2019-09-20 13:19:31 -07:00
Mark McCaskey
882a77ccf9
Remove null pointer checks generally, re-add them in Emscripten
2019-09-20 12:02:12 -07:00
Patrick Ventuzelo
c660aa9fce
fix 653 panic in memoryDescriptor
2019-09-17 17:42:06 +02:00
Syrus
d8471e2b6a
Improved docs with custom logo and favicon
2019-09-03 17:06:31 -07:00
losfair
3f0dae3329
Fix compilation on AArch64 Linux.
2019-08-20 16:37:32 -07:00
Brandon Fish
1886760eba
Fix issue with emscripten memory out of range
2019-08-19 09:45:14 -05:00
Brandon Fish
d89990951e
Convert panic to error when calling emscripten main
2019-08-16 22:18:13 -06: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
Brandon Fish
bccbbb3d8b
Add deny nonstandard-style and unused-mut lints
2019-08-15 20:18:29 -06:00
Syrus
47456b5baa
Fixed formatting
2019-08-05 14:37:08 -07:00
Syrus
fed7c79923
Added extra assertions in Emscripten. Fixed #244
2019-08-05 14:15:36 -07:00
Brandon Fish
b358605791
One CamelCase style cleanup and allow dead code warning
2019-08-02 14:14:59 -06:00
Brandon Fish
2f70a199e4
Add deny dead_code lint and fix one error
2019-08-01 20:46:35 -06:00
Syrus
0dfa1f68a8
Formatted code
2019-07-31 23:51:12 -07:00
Syrus
a6461c3b14
Removed explicit hashbrown dependency
2019-07-31 23:18:38 -07:00
Mark McCaskey
0ab8a0de09
Remove all uses of mem::uninitialized for Rust 1.38
2019-07-31 13:21:20 +09:00
Mark McCaskey
6d494a297f
fix emscripten tests
2019-07-09 13:41:40 -07:00
Syrus
b67b051a4a
Updated emscripten with comment
2019-07-08 09:39:19 -07:00
Syrus
6f1a8995ca
Fixed emscripten windows vars format
2019-07-08 00:35:18 -07:00
Syrus
680b833e94
Move emscripten ___syscall221 to the unix implementation
2019-07-07 23:36:50 -07:00
Syrus
72a80a6122
FIxed emscripten windows issues
2019-07-07 22:50:50 -07:00
Syrus
69be61c9cb
Remove this calls in windows
2019-07-07 19:51:11 -07:00
Syrus
798ad03182
Improved formatting in unix syscalls
2019-07-07 19:35:46 -07:00
Syrus
f4e60c09c1
Squashed commit of the following:
...
commit 62d9da4e3e02251a0f61c904e826bc06cf964ff7
Author: Syrus <me@syrusakbary.com>
Date: Sun Jul 7 18:16:34 2019 -0700
Fixed syscall221
commit a8fde9148d50d89616d8a85a68110b89e3273229
Author: Syrus <me@syrusakbary.com>
Date: Sun Jul 7 18:16:04 2019 -0700
Improved ioctl use case
commit 5ad109d39838624ad84232a4c17714b885835893
Merge: 61526e2c 5cab8161
Author: Syrus <me@syrusakbary.com>
Date: Sun Jul 7 17:44:25 2019 -0700
Merge branch 'command/dash' into feature/emscripten-update
commit 5cab816193d47d53aabb4be4ccaf448dca5ed0b2
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 20:11:49 2019 +0200
Generic IOCTLs mapping
commit 5a0dc0374cdc5a3754e3ecc82584288df640d239
Merge: 61cfed79 9d120ed3
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 17:15:02 2019 +0200
Merge remote-tracking branch 'origin/master' into command/dash
commit 61cfed7916078602eabbd4448b109f47dcfff1e8
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 13:04:04 2019 +0200
Fixed implementation for syscalls 200, 201 and 202
commit 91e26d1a0ee46d6f9ec4804ca13ca928d55e7bbb
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 13:03:26 2019 +0200
Improved debug messages
commit 53a8fbeb2a0912e928609f0afcea6ffb1e911193
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 13:03:04 2019 +0200
[___syscall146] Move loop out of `unsafe` zone
commit d6dd3696f10f4cbb0722321bd9d06e45a9d464ac
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 13:01:31 2019 +0200
[___syscall140] Fixed types
commit c827a6a99346535764e22bfb5ab9147a52a0a543
Merge: 2bc16826 5e18d04d
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Sat Jul 6 12:21:33 2019 +0200
Merge remote-tracking branch 'origin/master' into command/dash
commit 2bc16826b5923dba56243fe3bd99f4be8a09c990
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Thu Jul 4 07:05:00 2019 +0200
Implement `getpgid` syscall
commit d464954f5803e4d84b6f94dc9ef87cc577aa9c65
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Thu Jul 4 07:04:36 2019 +0200
[fcntl64] Replace mock for real implementation
commit 3fe0183d853624bcdc968a890ac36ff7062905a7
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Thu Jul 4 07:03:39 2019 +0200
[ioctl] No-of for `TIOCSPGRP` command & code clean-up
commit cc83ec9ac1cf1ad60748fd3bb5114a6e6e471d92
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Thu Jul 4 07:02:47 2019 +0200
[___syscall5] debug messages
commit 91587c8bde9d2b02402a7843f37eee22322d86fb
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
Date: Thu Jul 4 07:02:20 2019 +0200
[___syscall57] debug messages
2019-07-07 19:35:09 -07:00
Syrus
61526e2c45
Improved code format
2019-07-07 17:10:55 -07:00
Syrus
cb7a1f4486
Improved emscripten code based on comments
2019-07-07 17:10:13 -07:00
Syrus
9c96f01494
Fixed emscripten ns collision. Added ctime implementation
2019-07-07 15:55:52 -07:00
Syrus
d0b186b939
Added emscripten sbrk implementation
2019-07-06 22:05:45 -07:00