Commit Graph

24 Commits

Author SHA1 Message Date
0e32dc5e10 chore: Make linter happy 2025-03-06 16:38:58 +01:00
2f4c280086 fix(examples): Fix Target imports 2025-03-06 16:38:57 +01:00
921a2c64c0 chore: Fix examples 2024-11-06 17:23:09 +01:00
1d2ad33a7a chore: Make linter happy 2024-10-16 15:34:27 +02:00
8696f520bf feat(api): Remove deprecated methods and types 2024-10-16 15:32:17 +02:00
5aa356f222 Fixed a memory corruption issue with JS memory operations that were reusing invalid views 2022-07-31 20:31:41 +10: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
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
187d2e6364 Remove Artifact trait
In favor of using UniversalArtifact everywhere
2022-07-25 13:13:52 +03:00
a419ccdf52 Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
2022-07-19 15:31:51 +03:00
f744bac1a2 Store: replace new() with new_with_engine() and make new() take CompilerConfig
Since there's one engine now, it doesn't make sense to initialize a
`Store` with the engine specifically. It's an extra redundant step for
the API user.
2022-06-16 16:57:45 +03:00
086205bfcc Remove wasmer_engine_universal{,_artifact} and merge into wasmer_compiler 2022-06-16 16:57:45 +03:00
e9d54e130c Remove engine-dylib 2022-06-16 16:57:45 +03:00
3d66a2e360 feat: Rename wasmer-engine-native to wasmer-engine-dylib. 2021-05-28 14:13:24 +02:00
79d5f20301 feat: Rename wasmer-engine-native to wasmer-engine-shared-object. 2021-05-28 14:13:24 +02:00
5962d3fd4c chore: Fix errors to be able to build on musl
Closes #1482
Closes #1766
2021-01-27 21:05:15 +01:00
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
47c958dc43 Improved Native support 2020-11-19 20:31:26 -08:00
ed75704971 Add early exit example 2020-09-28 15:14:47 -07:00
e276b37e1f doc(examples) s/bash/shell/ for the sake of consistency. 2020-07-20 10:28:22 +02:00
942caadb0d Fixed examples 2020-07-15 12:35:49 -07:00
b3c873cd8a Trying to fix windows compilation 2020-07-14 17:42:24 -07:00
6f1677f5b3 Added more examples 2020-07-14 14:14:46 -07:00