Commit Graph

25 Commits

Author SHA1 Message Date
09427c3bb6 Make automatically the trait Into<Engine> conversions 2023-02-27 23:25:17 -08:00
9ed86ad6db Make cli compilable again 2023-02-24 13:51:37 -08:00
cd730e09c6 Moved the gross of default store to default_engine 2023-02-09 18:19:58 +01:00
7df3e3ca23 Rename {native,typed} functions, reintroduce *_with_env variants 2022-08-05 14:27:44 +02:00
8ff164036d Removed uint8view() from the memory API and redundant FunctionEnv in tests 2022-08-02 11:33:49 +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
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
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
274aa3e167 Migrated al examples to new Context API 2022-07-19 15:31:51 +03:00
086205bfcc Remove wasmer_engine_universal{,_artifact} and merge into wasmer_compiler 2022-06-16 16:57:45 +03:00
00f9a3c8d7 Remove loupe dependency
Closes #2731
Closes #2744
2022-06-08 14:12:49 +03:00
e5a784a006 feat: Rename wasmer-engine-jit to wasmer-engine-universal.
This (small) patch renames the `wasmer-engine-jit` crate into
`wasmer-engine-universal`.
2021-05-25 16:12:06 +02:00
deb097c585 fix: Update loupe to 0.1.1. 2021-03-23 13:07:52 +01:00
10c6f26770 doc: Update the tunable exemple to include MemoryUsage. 2021-03-22 15:38:59 +01:00
dd76fc7a47 Fix typo in tunables example 2020-12-12 16:07:32 +01:00
c0e7f194ad Export wasmer::{BaseTunables, Tunables} 2020-12-12 16:07:14 +01:00
13e6f29c29 Set compiler config to be owned (following wasm-c-api) 2020-12-04 02:39:19 -08:00
855eaab51e fix(examples): Fix a typo in the tunables example 2020-11-04 16:27:41 +01:00
c33b89cd1f Improve LimitingTunables implementation 2020-10-29 01:22:54 +01:00
1337d733be Make Base tunables generic in LimitingTunables 2020-10-28 00:39:50 +01:00
984d478d05 Update example to latest Tunables trait 2020-10-28 00:30:13 +01:00
f00b3b3312 Import Target via wasmer 2020-10-28 00:08:40 +01:00
52cc995b3a Create example for limiting memory with Tunables 2020-10-27 23:55:18 +01:00