Brandon Fish
f42ca84480
Add calling convention to function signatures
2019-05-26 14:44:17 -05:00
Brandon Fish
cc4b1871d0
Fix get global type
2019-05-26 14:15:30 -05:00
Brandon Fish
8069cdac16
Merge branch 'master' into feature/clif-cgapi
2019-05-26 12:04:45 -05:00
Brandon Fish
6ca311f92d
Fix compilation errors and warnings
2019-05-26 11:13:37 -05:00
Brandon Fish
5da0c4766a
Update to Arc<RwLock<ModuleInfo>> for interior mutability
2019-05-25 19:30:44 -05:00
Brandon Fish
d440776bc0
Update lifetime of function builder references
2019-05-25 18:06:41 -05:00
Johan Andersson
8018453266
Update wasmparser 0.29.2 -> 0.30.0
2019-05-24 23:18:08 +02:00
Syrus Akbary
4dab51f620
Merge branch 'master' into feat-runtime-error
2019-05-24 11:18:50 -07:00
Syrus
02a92562f6
Removed zbox requirement
2019-05-24 10:13:08 -07:00
Ivan Enderlin
90676b5c5b
feat(runtime-c-api) wasmer_instantiate
raises the source error.
...
Instead of returning only “error instanting”, `wasmer_instantiate` can
return the real error message.
2019-05-24 14:24:00 +02:00
Brandon Fish
9f2e068ff4
Implement conversion of signatures into clif signatures
2019-05-23 20:04:55 -05:00
Brandon Fish
a713043360
Update translate_operator op argument
2019-05-22 23:46:38 -05:00
Mark McCaskey
dc3ac156a4
add test, update changelog
2019-05-22 15:57:12 -07:00
Mark McCaskey
b7abc44648
Prevent parent directory from being opened without being preopened wasi
2019-05-22 15:30:38 -07:00
Brandon Fish
5d3f6ea167
Fixing lifetime issues in clif codegen refactor
2019-05-22 17:21:16 -05:00
Ivan Enderlin
11f1bbaf9a
chore(runtime-c-api) Update C/C++ header files.
2019-05-22 16:45:59 +02:00
Ivan Enderlin
c92230e18e
fix(runtime-c-api) Lengths cannot be negative.
...
This patch prevents receiving negative length in various places.
2019-05-22 16:44:03 +02:00
Brandon Fish
04d6ccc95c
Pass module info to FCG as Arc
2019-05-21 23:44:31 -05:00
bors[bot]
32c2ad1916
Merge #447
...
447: add trace macro for more verbose debug statements r=MarkMcCaskey a=MarkMcCaskey
The next step is to implement these in terms of `log`
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-05-21 19:28:34 +00:00
Mark McCaskey
3bedf6218c
Merge branch 'master' into feature/trace-macro
2019-05-21 11:44:50 -07:00
bors[bot]
699d65bddb
Merge #459
...
459: add realtime and monotonic clock support for wasi on windows r=MarkMcCaskey a=MarkMcCaskey
resolves #455
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-21 18:36:08 +00:00
bors[bot]
7b9e289f68
Merge #456
...
456: Command/openssl r=syrusakbary a=piranna
Mocks for missing functions needed by `openssl` command.
Co-authored-by: Jesús Leganés-Combarro 'piranna <piranna@gmail.com>
2019-05-21 18:23:59 +00:00
Mark McCaskey
deb00c886c
change to depend on winapi only on windows
2019-05-21 11:23:24 -07:00
Mark McCaskey
8857e6d320
move check with debug build higher in CI, fix bug in debug macro
2019-05-21 11:15:13 -07:00
Mark McCaskey
e989a86d33
properly handle bad input on windows clocks
2019-05-21 10:55:54 -07:00
Mark McCaskey
2a30fc3f1b
wrap call in unsafe, unconditionally depend on winapi
2019-05-21 10:41:40 -07:00
Mark McCaskey
736bddfe17
debug log error in windows clock, conditionally pull in winapi
2019-05-21 10:35:51 -07:00
Mark McCaskey
08b4b639f4
add realtime and monotonic clock support for wasi on windows
2019-05-21 10:24:06 -07:00
Jesús Leganés-Combarro 'piranna
490b94b814
Fix linting
2019-05-21 19:12:35 +02:00
Mark McCaskey
6b81ec0aa7
add mapdir regression test; add testfs; add arg passing system
2019-05-20 17:43:50 -07:00
Mark McCaskey
7cc967e709
flip order of args in mapdir
2019-05-20 16:46:08 -07:00
Mark McCaskey
be4dd453c2
clean up and fix bugs
2019-05-20 16:39:02 -07:00
Mark McCaskey
97a2237255
Merge branch 'master' into feature/map-dir
2019-05-20 15:23:13 -07:00
Mark McCaskey
f2001fea50
fix file creation ts for WASI Linux
2019-05-20 15:02:22 -07:00
Mark McCaskey
d7d17bd647
add expect to call entrypoint in wasi tests
2019-05-20 13:55:29 -07:00
Jesús Leganés-Combarro 'piranna
34e16d4a84
Move ucontext
related functions to their own namespace
2019-05-20 22:54:58 +02:00
Mark McCaskey
7a4b47d651
update compiled tests
2019-05-20 13:28:31 -07:00
Mark McCaskey
2c5f72805e
fix WASI clock bugs
2019-05-20 11:01:28 -07:00
Mark McCaskey
8a177363f4
fix file metadata wasi test
2019-05-20 09:24:55 -07:00
Brandon Fish
5db575e8ef
Fix clif_signatures in function codegen
2019-05-19 15:22:02 -05:00
Brandon Fish
db669f7eb7
Fix more codegen compilation issues
2019-05-19 15:01:25 -05:00
Jesús Leganés-Combarro 'piranna
8995060f9b
Mocks for _getcontext
, _makecontext
, _setcontext
and _swapcontext
2019-05-19 20:53:24 +02:00
Jesús Leganés-Combarro 'piranna
f8cfb04e29
_alarm()
2019-05-19 20:24:49 +02:00
Jesús Leganés-Combarro 'piranna
2eb5ca1e48
_gai_strerror()
2019-05-19 20:16:00 +02:00
Brandon Fish
d547beda72
Fix self.info compilation error in MCG.finalize
2019-05-19 13:05:35 -05:00
Jesús Leganés-Combarro 'piranna
7690febe77
getnameinfo()
2019-05-19 19:37:57 +02:00
Jesús Leganés-Combarro 'piranna
ad8178bb2a
[pthread] rwlock_destroy()
, rwlock_init()
and rwlock_wrlock()
2019-05-19 19:16:04 +02:00
Brandon Fish
e34e625009
Implement MCG.next_function in other backends
2019-05-19 11:45:16 -05:00
Brandon Fish
47479b547f
Implement MCG.{finalize, from_cache}
2019-05-19 10:53:33 -05:00
Brandon Fish
6d5dd5ff21
Implement more function codegen
2019-05-19 00:27:39 -05:00