Ivan Enderlin
8538e3be33
feat(interface-types) The “helper adapter” has been removed.
2020-02-24 15:49:03 +01:00
Ivan Enderlin
ac68325cc9
feat(interface-types) Update interface types.
...
According to the last working notes, new interface types are s8, s16,
s32, s64, u8, u16, u32, u64, f32, f64, string, anyref, i32, and i64.
Their binary reprensentations are changing too, from 0x00 to 0x0d.
2020-02-24 15:37:03 +01:00
Mark McCaskey
d7fca539c1
Make JitCodeDebugInfoEntryHandleInner Send and Sync
2020-02-21 15:10:58 -08:00
Mark McCaskey
40e4dddc4b
Add updates from feedback
...
Co-authored-by: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-21 14:33:32 -08:00
Nick Lewycky
a56660bfe9
Remove LLVMModuleCodeGenerator::signatures_raw which is a clone of a mapping available in ModuleInfo.
2020-02-21 13:31:49 -08:00
Nick Lewycky
642e6c3db1
Fix typo in comment.
2020-02-21 11:44:31 -08:00
losfair
f717d4c779
Merge remote-tracking branch 'origin/master' into feature/spectest-check-excluded
2020-02-22 01:26:10 +08:00
losfair
f2084982d4
Make excludes more specialized.
2020-02-22 01:25:14 +08:00
Ivan Enderlin
6b667805d7
Merge branch 'master' into doc-readme-logo
2020-02-21 13:41:35 +01:00
Ivan Enderlin
1e52d4b9b2
doc(readme) Fix logo.
2020-02-21 13:39:43 +01:00
Ivan Enderlin
48f8823879
Merge branch 'master' into feat-interface-types-decoders-wat
2020-02-21 12:24:52 +01:00
Ivan Enderlin
80d0b5116f
doc(interface-types) Add intra links.
2020-02-21 12:23:58 +01:00
Ivan Enderlin
0afd308c44
feat(interface-types) Add the parse
public API.
...
Also rename `kw` to `keyword`.
2020-02-21 12:23:20 +01:00
Mark McCaskey
3d6e915108
Merge branch 'master' into feature/debug-prototype2
2020-02-20 17:48:02 -08:00
Mark McCaskey
7c5f8251e3
Flatten tuple in return type, conditionally remove more jit debug code
2020-02-20 16:59:59 -08:00
Mark McCaskey
1374bf0806
Prepare for 0.14.0 release
2020-02-20 13:15:29 -08:00
Mark McCaskey
0ec08b5bbd
Add updates from feedback
2020-02-20 13:06:50 -08:00
losfair
3fa62461e6
Specify excludes separately for linux/macos singlepass.
2020-02-21 03:47:17 +08:00
losfair
456d2dc2a8
Match against both target OS and family.
2020-02-21 03:47:01 +08:00
Syrus
aa0f33203c
Reuse doc file for capi docs
2020-02-20 11:24:54 -08:00
losfair
c1f1a82854
Check for unused excludes.
2020-02-21 03:23:44 +08:00
Mark McCaskey
65a9e04f3c
Add updates from feedback
...
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2020-02-20 11:20:40 -08:00
Ivan Enderlin
2ef13cdc81
fix(interface-types) Remove #[allow(unused)]
.
2020-02-20 15:16:35 +01:00
Ivan Enderlin
5e00153d29
feat(interface-types) Decode instructions in WIT's text format.
2020-02-20 15:13:11 +01:00
Ivan Enderlin
cda53a57b5
feat(interface-types) Replace nom by wast for decoding WIT's text format.
2020-02-20 14:43:58 +01:00
Syrus Akbary
8933f3208e
Merge branch 'master' into feature/release-capi
2020-02-19 19:03:57 -08:00
Syrus
edeabd419b
Add links for API Docs
2020-02-19 18:58:22 -08:00
Syrus
40fb54c58f
Improved Wasmer C API artifacts
2020-02-19 18:54:32 -08:00
Syrus
d93d878aa4
Fixed runtime doc links
2020-02-19 18:53:10 -08:00
Mark McCaskey
3bca20d3d3
Add changelog entry, clean up
2020-02-19 16:37:43 -08:00
Mark McCaskey
64cc59179a
Merge branch 'master' into feature/debug-prototype2
2020-02-19 16:13:35 -08:00
Mark McCaskey
a2e531bda4
Update to use published wasm-debug; make dep optional in clif-backend
2020-02-19 15:53:36 -08:00
Mark McCaskey
68af917d4c
Update field names in wasm-debug types
2020-02-19 15:46:43 -08:00
Ivan Enderlin
00e36508d6
feat(interface-types) Parse Adapter
in the WAT decoders.
2020-02-19 17:41:06 +01:00
Ivan Enderlin
2e78cf1fc0
feat(interface-types) Parse Import
in the WAT decoders.
2020-02-19 17:20:18 +01:00
Ivan Enderlin
c97122899d
feat(interface-types) Start implementing the WAT decoder.
2020-02-19 16:12:06 +01:00
Mark McCaskey
1ac59a31f6
Add various small improvements, update attributions file
2020-02-18 17:31:12 -08:00
Mark McCaskey
3653a448f5
Clean up code, add documentation, implement pieces properly
2020-02-18 16:51:02 -08:00
bors[bot]
3d4d6eb366
Merge #1223
...
1223: feat(runtime-core) Implement `TryFrom<native_type>` for `Value` r=Hywan a=Hywan
Extracted from #1018 .
This PR implements `TryFrom` for `Value`. It is required to support dynamically-typed values for polymorphic host functions.
This PR also refactors the code by using a macro (`value_conversions!`) to implement `From` and `TryFrom` in one shot.
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
Co-authored-by: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-18 09:14:40 +00:00
Ivan Enderlin
e9333c5790
Merge branch 'master' into feat-runtime-core-value-try-from
2020-02-18 10:01:03 +01:00
Ivan Enderlin
cc93f3197b
Merge branch 'master' into feat-interface-types-encoders-binary
2020-02-18 09:57:29 +01:00
Mark McCaskey
c005f94a55
Add clippy::missing_safety_doc lint to wasi, misc clean up
2020-02-17 15:15:04 -08:00
Syrus Akbary
abd44e9fba
Merge branch 'master' into feat-runtime-core-cleanup-typed-func
2020-02-17 13:00:13 -08:00
Ivan Enderlin
8d31f0b7e9
Merge branch 'master' into feat-runtime-core-wasm-extern-type-macros
2020-02-17 20:57:27 +01:00
bors[bot]
adc651def6
Merge #1224
...
1224: fix(runtime-core) Remove warnings r=Hywan a=Hywan
Because we can use the `impl_traits!` macro with only one identifier,
a warning is emitted saying the parenthesis are useless for this
specific usecase. They are required for all the other usecases
though. We can safely ignore this warning.
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
Co-authored-by: Ivan Enderlin <ivan.enderlin@wanadoo.fr>
2020-02-17 19:34:57 +00:00
Ivan Enderlin
7f0e220f70
Merge branch 'master' into fix-runtime-core-warnings
2020-02-17 20:34:05 +01:00
Ivan Enderlin
8d8a5f6d5a
Merge branch 'master' into feat-runtime-core-cleanup-typed-func
2020-02-17 20:33:35 +01:00
bors[bot]
1158951d5c
Merge #1221
...
1221: doc(interface-types) Add a `README.md` file r=MarkMcCaskey a=Hywan
Just a small `README.md`, so that users aren't totally loss.
Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
2020-02-17 19:15:58 +00:00
losfair
ed826cb389
Cleanup various FIXMEs and remove protect_unix.
2020-02-18 02:35:19 +08:00
Ivan Enderlin
9013d52ea4
doc(runtime-core) Hide some traits and structs in the documentation.
...
Those are not necessary for the user. It's only internal
implementation, that must be public because it ends up in public
types, but the compiler infers everything automatically.
2020-02-17 16:03:54 +01:00