losfair
100039afd6
Merge remote-tracking branch 'origin/master' into feature/remote-code-load
2019-05-16 09:28:02 +08:00
losfair
b28992932e
Rename wasmer-kernel-net
to kernel-net
.
2019-05-16 09:22:40 +08:00
Mark McCaskey
83deae80dc
update changelog; clean up
2019-05-15 15:16:52 -07:00
Mark McCaskey
b2752735db
avoid opening files when not needed in WASI, check for write permissions
2019-05-15 15:11:29 -07:00
Syrus
3bbf7753cb
Renamed kwasm-net to wasmer-kernel-net
2019-05-15 10:34:56 -07:00
Mark McCaskey
ace7a19a7b
apply base path update to wasi::path_filestat_get
2019-05-15 10:25:31 -07:00
losfair
a1a58d4a50
Merge remote-tracking branch 'origin/master' into feature/remote-code-load
2019-05-15 21:44:11 +08:00
losfair
d72abf3203
Rename kwasm-loader
to wasmer-kernel-loader
.
2019-05-15 21:43:19 +08:00
bors[bot]
03671ab5ac
Merge #442
...
442: Fix/misc wasi fs issues r=MarkMcCaskey a=MarkMcCaskey
resolves #434
Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-05-15 00:40:50 +00:00
Mark McCaskey
216d09b7c7
Merge branch 'fix/misc-wasi-fs-issues' of github.com:wasmerio/wasmer into fix/misc-wasi-fs-issues
2019-05-14 17:40:09 -07:00
Mark McCaskey
c402c0350c
return EIO if internal data structures are corrupt
2019-05-14 17:39:19 -07:00
Mark McCaskey
593255021d
Merge branch 'master' into fix/misc-wasi-fs-issues
2019-05-14 16:42:42 -07:00
Mark McCaskey
87d9940a23
implement readdir!
2019-05-14 16:33:54 -07:00
Brandon Fish
89f3998b49
Merge branch 'master' into feature/fix-default_compiler-compilation
2019-05-14 18:22:44 -05:00
Brandon Fish
bef9f1244a
Return impl Compiler from default_compiler to fix compilation with features
2019-05-14 18:19:58 -05:00
Mark McCaskey
3bf550055f
rm from entry in fd_renumber -- thanks Brandon!
2019-05-14 15:10:01 -07:00
Mark McCaskey
84ea25241a
fix opening directories in path_open
2019-05-14 15:08:45 -07:00
Mark McCaskey
5114d42237
fix borrowing warning on nightly
2019-05-14 14:05:41 -07:00
Ivan Enderlin
8bd9bbb508
chore(runtime-c-api) Update C/C++ header files.
2019-05-14 16:19:32 +02:00
Ivan Enderlin
f04e77323b
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
...
The `returns_len` argument type of `wasmer_export_func_returns_params`
must be `uint32_t` to match the `wasmer_export_func_returns_arity` results,
so that casts are not required.
2019-05-14 16:18:41 +02:00
Ivan Enderlin
53661385ed
chore(runtime-c-api) Update C/C++ header files.
2019-05-14 16:17:13 +02:00
Ivan Enderlin
91006bab53
fix(runtime-c-api) Update wasmer_export_func_params_arity
signature.
...
The `params_len` argument type of `wasmer_export_func_params_arity`
must be `uint32_t` to match the `wasmer_export_func_*_arity` results,
so that casts are not required.
2019-05-14 16:15:36 +02:00
losfair
fac4c452c6
Fix LLVM backend.
2019-05-14 18:49:02 +08:00
Ivan Enderlin
2b250c30f3
chore(runtime-c-api) Regenerate C/C++ header files.
2019-05-14 11:50:10 +02:00
Ivan Enderlin
f68379a6df
test(runtime-c-api) Use *_arity
variables when calling wasmer_export_func_call
.
2019-05-14 11:49:40 +02:00
Ivan Enderlin
d3c75a38fa
fix(runtime-c-api) wasmer_instance_call
types matches wasmer_export_func_*_arity
.
...
The `wasmer_export_func_params_arity` and
`wasmer_export_func_returns_arity` functions store the arity in a
`uint32_t`. The `wasmer_instance_call` expects `c_int`. There is a
type mismatch here. It's not annoying in C or C++, but in some other
languages that have bindings to C/C++, it can imply useless casting.
This patch changes `wasmer_instance_call` to expect `uint32_t` for
`params_len` and `results_len` to match the
`wasmer_export_func_*_arity` functions.
2019-05-14 11:46:43 +02:00
losfair
d641909c63
Fix clippy error
2019-05-14 17:13:17 +08:00
losfair
ee09209bfb
Fix clippy error.
2019-05-14 16:59:18 +08:00
losfair
d60e2377c1
Only compile kwasm-net for wasm32-wasi.
2019-05-14 16:45:26 +08:00
losfair
1e7a928d64
Add comments.
2019-05-14 16:13:42 +08:00
losfair
32f9aee6fe
Cargo fmt
2019-05-14 16:04:08 +08:00
losfair
722ea39877
Cleanup loader code.
2019-05-14 16:02:27 +08:00
losfair
2a160c74ad
Fix wasmer-runtime-core dependency version.
2019-05-14 15:47:19 +08:00
losfair
db9705f00c
Merge remote-tracking branch 'origin/master' into feature/remote-code-load
2019-05-14 15:46:15 +08:00
Heyang Zhou
2963b0a2eb
Make schedule()
faster.
2019-05-14 00:04:32 -07:00
Syrus
19eba19603
Merge branch 'master' into doc-runtime-c-api
...
# Conflicts:
# lib/runtime-c-api/src/lib.rs
2019-05-13 15:55:20 -07:00
Syrus
8218e550fc
Improved docs and fixed few typos
2019-05-13 11:18:57 -07:00
Syrus
5a6cb96714
Merge branch 'master' into docs/better-runtime-docs
...
# Conflicts:
# lib/runtime-core/src/vm.rs
2019-05-13 11:08:00 -07:00
Heyang Zhou
884a7e1713
kwasm-net fixes and optimizations.
2019-05-13 10:15:03 -07:00
Heyang Zhou
3bcdfb4263
Asynchronous networking extension.
2019-05-13 06:14:28 -07:00
Heyang Zhou
af1ac9af96
Improve performance of memory access.
2019-05-13 05:11:08 -07:00
Ivan Enderlin
b050144898
Merge branch 'master' into fix-runtime-c-api-error-length
2019-05-13 10:59:11 +02:00
Ivan Enderlin
8c8586faaa
test(runtime-c-api) Assert returned value from wasmer_last_error_message
.
2019-05-13 10:52:55 +02:00
Ivan Enderlin
bedd305b06
doc(runtime-c-api) Fix inline comment.
2019-05-13 10:52:43 +02:00
bors[bot]
b2227314a7
Merge #436
...
436: Add deny for unreachable patterns and unused unsafe r=syrusakbary a=bjfish
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-05-12 22:16:44 +00:00
Brandon Fish
2aefa731a6
Add deny for unreachable patterns and unused unsafe
2019-05-12 00:33:02 -05:00
Brandon Fish
a96d5cb975
Fix f32/f64 conversion, add tests, and rename conversion method
2019-05-11 19:26:17 -05:00
Brandon Fish
85158ac22a
Add some initial deny for unused_imports and unused_variables
...
Additional unused variable fix on unix
Remove unused import on unix
Remove unused windows import
2019-05-11 09:23:25 -05:00
Mark McCaskey
02f3349cb1
clean up, update changelog
2019-05-10 10:58:06 -07:00
Mark McCaskey
a527154c62
major improvements to wasi fs calls; include explanation in unimpl!s
2019-05-10 10:54:36 -07:00