ptitSeb
2953093fb1
Some more cleanup
2022-08-23 11:28:43 +02:00
ptitSeb
6e0d58f0d4
Cleanup LinearMemory test
2022-08-22 17:42:07 +02:00
ptitSeb
bae459138f
LinearMemory test also include custom Tunables now
2022-08-22 16:52:23 +02:00
ptitSeb
73844bb7d2
Move LinearMemory test from vm::Memory to Tunables
2022-08-22 15:01:28 +02:00
ptitSeb
553745cd3d
Move LinearMemory trait and VMMemoryDefinition to wasmer_vm (from wasmer_types)
2022-08-19 16:00:38 +02:00
ptitSeb
6cf99a63f6
Removed from_vm_export in favor of from_vm_extern
2022-08-19 12:15:55 +02:00
ptitSeb
f599df0240
Fix linter
2022-08-18 16:58:04 +02:00
John Sharratt's Shared Account
c7c1507b8b
Implemented LinearMemory trait
2022-08-18 16:53:37 +02:00
Syrus Akbary
79b43cb82f
Fix static object signature deserialization
2022-08-17 17:06:23 +02:00
ptitSeb
f7a833a1b1
Re-enable the last 3 ignored tests
2022-08-16 10:35:27 +02:00
ptitSeb
2816b884ad
Re-enabled ExternRef tests
2022-08-12 18:01:54 +02:00
ptitSeb
7ec2d603bf
MemoryView lifetime tied to memory and not StoreRef
2022-08-11 17:00:47 +02:00
Manos Pitsidianakis
c570b1471a
Bump version to 3.0.0-beta in Cargo manifests
2022-08-08 19:56:35 +03:00
Felix Schütt
520314bbf0
Fix errors from "make lint"
2022-08-05 15:40:32 +02:00
Wolfgang Silbermayr
dcb34971ad
Seal HostFunctionKind trait
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
a6022af980
Fix clippy lints
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
9c7b4343ea
rustfmt
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
89bba319a9
No longer require FunctionEnvMut for new_typed(…) callback function
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
6582db9ba4
Add missing doc
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
566c897e57
Remove FunctionEnvMut for Function::new(…)
2022-08-05 14:27:44 +02:00
Wolfgang Silbermayr
7df3e3ca23
Rename {native,typed} functions, reintroduce *_with_env variants
2022-08-05 14:27:44 +02:00
Syrus Akbary
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
Wolfgang Silbermayr
7e906f6b3c
Add {static,wasmer}-artifact-{create,load} to docs.rs features
2022-08-04 08:57:57 +02:00
Wolfgang Silbermayr
42bb6b02dd
Remove native feature entry from docs.rs metadata
...
The native feature is no longer present, but was still in the list of
features to be enabled when building the documentation for docs.rs,
causing the build there to fail. Removal should re-enable the build of
the documentation for docs.rs.
Closes : #3066
2022-08-04 08:18:44 +02:00
Manos Pitsidianakis
83a97f5533
cli: add create-obj command
...
lib/compiler: read static object
2022-08-03 10:37:45 +03:00
Manos Pitsidianakis
430a7e2e19
Make serde optional everywhere with enable-serde feature flag
2022-08-02 15:45:28 +03:00
John Sharratt's Shared Account
8ff164036d
Removed uint8view() from the memory API and redundant FunctionEnv in tests
2022-08-02 11:33:49 +10:00
Johnathan Sharratt
6074045514
Merge branch 'master' into master
2022-07-31 22:01:38 +10:00
John Sharratt's Shared Account
5aa356f222
Fixed a memory corruption issue with JS memory operations that were reusing invalid views
2022-07-31 20:31:41 +10:00
Felix Schütt
011d36829a
Bump 3.0.0-alpha.3 to 3.0.0-alpha.4
2022-07-30 11:31:08 +03:00
Felix Schütt
6453aac120
Add feature="compiler" feature gates to wasmer/api crate
2022-07-30 11:30:47 +03:00
Felix Schütt
1c3ffffe46
Bump 3.0.0-alpha.2 to 3.0.0-alpha.3
2022-07-30 11:30:45 +03:00
Felix Schütt
02ee80cf10
Bump version to 3.0.0-alpha.2
2022-07-30 11:30:07 +03:00
Felix Schütt
6c045bff10
Bump version to 3.0.0-alpha.1 to fix botched compiler crate
2022-07-30 11:29:41 +03:00
Felix Schütt
8959008403
Update version to 3.0.0-alpha
2022-07-30 11:29:05 +03:00
Manos Pitsidianakis
a02ff59a0f
cli: re-introduce create-exe functionality
2022-07-29 10:40:23 +03:00
Syrus Akbary
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
Manos Pitsidianakis
214346af3b
Merge Backend into EngineBuilder and refactor feature flags
2022-07-27 21:03:24 +03:00
Syrus Akbary
abed65f074
Added hashing to the StoreHandle and Funciton env in wasmer-js
2022-07-26 09:54:58 -07:00
Syrus Akbary
eb9e73d3aa
Improvedf hashing/ids of function envs
2022-07-25 14:38:42 -07:00
Manos Pitsidianakis
924d2dcf4e
Remove Universal mentions from cargo features
2022-07-25 14:45:27 +03:00
Manos Pitsidianakis
b15e8c2e4e
Refactor last traces of "Universal" nomenclature
2022-07-25 13:23:16 +03:00
Manos Pitsidianakis
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
Manos Pitsidianakis
b9ab9515c1
Remove Module::artifact()
...
Closes #2637
2022-07-25 13:21:43 +03:00
Manos Pitsidianakis
c2ecb99142
Rename UniversalArtifact to Artifact
2022-07-25 13:21:43 +03:00
Manos Pitsidianakis
51be5d0860
Rename UniversalEngine to Engine
2022-07-25 13:21:41 +03:00
Manos Pitsidianakis
987a90c0dc
Remove Engine trait
2022-07-25 13:19:32 +03:00
Manos Pitsidianakis
187d2e6364
Remove Artifact trait
...
In favor of using UniversalArtifact everywhere
2022-07-25 13:13:52 +03:00
Manos Pitsidianakis
37773f29d7
Store/create Arc<ModuleInfo> in Module on Instantiation
...
Instead of accessing Arc<ModuleInfo> from the artifact a module was
instantiated from, create a copy from it in each instantiated module.
2022-07-25 13:13:52 +03:00
Manos Pitsidianakis
73200b9d46
Remove cranelift dependency from wasmer-wasi
2022-07-20 16:40:58 +03:00