Commit Graph

525 Commits

Author SHA1 Message Date
607050641c Added get_runtime_size to test for runtime-sizes of imports 2022-10-14 14:08:25 +02:00
fef756412f Update 3.0.0-beta -> 3.0.0-beta.2 2022-09-26 12:20:35 +02:00
6ac06760ad cargo fmt 2022-09-02 11:23:35 +02:00
eb58e62f9c Initial port of make test-js-core (port wasmer API to core) 2022-08-31 15:13:07 +02:00
d8ed8d7c6c Fix issue in Artifact::deserialize 2022-08-25 12:39:08 +02:00
ff8f43b0ae Fix error in MetadataHeader::parse 2022-08-23 18:03:13 +02:00
f659a35229 Make "make lint" pass 2022-08-23 16:30:50 +02:00
21342e540f Adress review comment: Use Result<...> instead of Option for quick return 2022-08-23 16:25:08 +02:00
e00be2380d Remove manual checks in Artifact::deserialize, prefer function instead 2022-08-23 16:10:12 +02:00
6988025cd0 Fix make lint 2022-08-23 15:24:13 +02:00
9ea5c941b4 Prevent more panics in Artifact::deserialize 2022-08-23 14:56:07 +02:00
e2daf4f597 Test metadata slice len before accessing to prevent panic 2022-08-23 14:39:28 +02:00
553745cd3d Move LinearMemory trait and VMMemoryDefinition to wasmer_vm (from wasmer_types) 2022-08-19 16:00:38 +02:00
85a697f7cc Merge branch 'master' into feat_linearmemory_trait 2022-08-18 17:46:15 +02:00
7db6d3de78 Made clippy happy 2022-08-18 17:40:32 +02:00
1756456d6c Refactor Artifact enum into a struct
Closes #3063

Refactor Artifact type from enum to struct #3063 https://github.com/wasmerio/wasmer/issues/3063
2022-08-18 18:19:44 +03:00
f599df0240 Fix linter 2022-08-18 16:58:04 +02:00
c7c1507b8b Implemented LinearMemory trait 2022-08-18 16:53:37 +02:00
94d6a1f11b Fix linter issues 2022-08-17 17:59:47 +02:00
79b43cb82f Fix static object signature deserialization 2022-08-17 17:06:23 +02:00
45d60884c2 create-exe: add static artifact load feature to libwasmer headless 2022-08-12 18:27:54 +03:00
c570b1471a Bump version to 3.0.0-beta in Cargo manifests 2022-08-08 19:56:35 +03:00
520314bbf0 Fix errors from "make lint" 2022-08-05 15:40:32 +02:00
9c7b4343ea rustfmt 2022-08-05 14:27:44 +02:00
dce55432e6 Merge pull request #3052 from john-sharratt/master
Fixed a memory corruption issue with JS memory operations that were r…
2022-08-04 13:44:39 +02:00
7e906f6b3c Add {static,wasmer}-artifact-{create,load} to docs.rs features 2022-08-04 08:57:57 +02:00
83a97f5533 cli: add create-obj command
lib/compiler: read static object
2022-08-03 10:37:45 +03:00
8b096a504e compiler: add wasmer-artifact-load,wasmer-artifact-create,static-artifact-load,static-artifact-create feature flags 2022-08-02 15:45:28 +03:00
430a7e2e19 Make serde optional everywhere with enable-serde feature flag 2022-08-02 15:45:28 +03:00
14ee38a24e compiler: move Symbol, SymbolRegistry to wasmer-types 2022-08-02 15:45:28 +03:00
7ad24fc29e Added comment to track the -1 2022-08-02 09:46:37 +02:00
b9c34c736b Refactored frame_informations so end of ranges is correct 2022-08-02 09:31:25 +02:00
3dc4a731f2 Fixed how traps information are retrieved (for #2847) 2022-08-01 17:18:41 +02:00
6074045514 Merge branch 'master' into master 2022-07-31 22:01:38 +10:00
5aa356f222 Fixed a memory corruption issue with JS memory operations that were reusing invalid views 2022-07-31 20:31:41 +10:00
011d36829a Bump 3.0.0-alpha.3 to 3.0.0-alpha.4 2022-07-30 11:31:08 +03:00
1c3ffffe46 Bump 3.0.0-alpha.2 to 3.0.0-alpha.3 2022-07-30 11:30:45 +03:00
396ee11bbf Fix - hopefully last - error regarding the new "compiler" feature flag 2022-07-30 11:30:09 +03:00
02ee80cf10 Bump version to 3.0.0-alpha.2 2022-07-30 11:30:07 +03:00
a83c6385e4 Update compiler crate to fix error due to missing "compiler" feature gates 2022-07-30 11:29:45 +03:00
6c045bff10 Bump version to 3.0.0-alpha.1 to fix botched compiler crate 2022-07-30 11:29:41 +03:00
35648e844a Fix error in import in wasmer-compiler due to new non-default "compiler" feature 2022-07-30 11:29:11 +03:00
8959008403 Update version to 3.0.0-alpha 2022-07-30 11:29:05 +03:00
11d8ea255a compiler: move MetadataHeader to wasmer-types 2022-07-29 10:40:31 +03:00
a02ff59a0f cli: re-introduce create-exe functionality 2022-07-29 10:40:23 +03:00
4384ddf9cd Improved EngineBuilder and Store API
- Store::new() now takes an impl Into<Engine>.
- Added Into<Engine> impls in each of the compilers
- Updated docs/migration_to_3.0.0.md on API usage
2022-07-28 15:20:26 +03:00
214346af3b Merge Backend into EngineBuilder and refactor feature flags 2022-07-27 21:03:24 +03:00
924d2dcf4e Remove Universal mentions from cargo features 2022-07-25 14:45:27 +03:00
b15e8c2e4e Refactor last traces of "Universal" nomenclature 2022-07-25 13:23:16 +03:00
4a06b1d3f6 Rename engine's Universal type to Backend
The Universal type was essentially a builder of engines that's given a
compiler backend and creates an Engine with .engine() method. The name
was not clear.
2022-07-25 13:23:13 +03:00