Commit Graph

46 Commits

Author SHA1 Message Date
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
Syrus Akbary
1031b9b1b5 Merge branch 'master' into master-with-fixes
# Conflicts:
#	lib/c-api/Cargo.toml
#	lib/cache/Cargo.toml
#	lib/cli/Cargo.toml
#	lib/emscripten/Cargo.toml
#	lib/wasi/Cargo.toml
2023-03-26 19:55:33 -07:00
ptitSeb
d58d158897 Release 3.2.0-beta.1 2023-03-22 19:14:57 +01:00
Syrus Akbary
9308f20707 Use singlepass in macOS M1 if available 2023-03-16 14:26:01 -07:00
Syrus Akbary
e61c206bb2 Merge branch 'master' into std-api 2023-03-06 20:50:10 -08:00
Christoph Herzog
6fb803a063 deps: Remove unused tempfile dependency fro cli-compiler 2023-03-06 07:59:16 +00:00
Christoph Herzog
5e73761c22 deps: Remove tempdir dependency
We already depend on `tempfile`, which also provides temp dir
functionality.

This gets rid of a cargo-deny error due to a race condition in
remove_dir_all, which is a dependency of the removed "tempdir" crate.

Also bumps the minimum tempfile version in Cargo.toml files to be
consistent.
2023-03-06 07:59:16 +00:00
Syrus Akbary
543e7cb945 Make CI happy. Fix linting and imports 2023-02-10 08:05:07 -08:00
Syrus Akbary
5a030f5f31 Fix compile 2023-01-28 22:46:53 +01:00
Felix Schütt
4b9389cdaa Release 3.2.0-alpha.1 2023-01-23 12:52:43 +01:00
Felix Schütt
d45850733e Release 3.1.0 2022-12-12 13:38:00 +01:00
Felix Schütt
b70f6e9052 Release 3.0.2 2022-11-25 21:30:20 +01:00
Felix Schütt
27f3300fef Release 3.0.1 2022-11-23 01:14:06 +01:00
Felix Schütt
dcc0164698 Release 3.0.0 2022-11-20 17:00:03 +01:00
Felix Schütt
91c2c1daea Release 3.0.0-rc.4 2022-11-19 16:21:42 +01:00
Felix Schütt
820b83e56b Update 3.0.0-rc.2 -> 3.0.0-rc.3 2022-11-18 19:50:41 +01:00
Felix Schütt
d2364f40bb Update versions via script 2022-11-02 14:52:12 +01:00
Felix Schütt
8ee578fb5d Update package versions 2022-10-25 12:54:45 +02:00
Felix Schütt
fef756412f Update 3.0.0-beta -> 3.0.0-beta.2 2022-09-26 12:20:35 +02:00
Go Murakami
26848ef439 Fix compile command for arm 2022-09-15 13:11:36 +09:00
Manos Pitsidianakis
c570b1471a Bump version to 3.0.0-beta in Cargo manifests 2022-08-08 19:56:35 +03:00
Wolfgang Silbermayr
1c67ec7894 Resolve clap TODO items 2022-08-08 15:51:39 +02:00
Wolfgang Silbermayr
2a385c7882 Migrate to clap from structopt 2022-08-08 15:51:37 +02: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
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
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
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
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
086205bfcc Remove wasmer_engine_universal{,_artifact} and merge into wasmer_compiler 2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
feee4e3587 Move wasmer_compiler errors to wasmer_types error module 2022-06-16 16:57:45 +03:00
Johnathan Sharratt
7c532813e7 Multiple changes required to implement the wasmer terminal on the browser
- Split functionality out of WasiEnv so that it can support multi-threading
- Added methods to the VFS File Trait that supporting polling
- Implemented basic time functionality for WASI
- Incorported a yield callback for when WASI processes idle
- Improved the error handling on WASI IO calls
- Reduce the verbose logging on some critical WASI calls (write/read)
- Implemented the missing poll functionality for WASI processes
- Moved the syspoll functionality behind a feature flag to default to WASI method
- Refactored the thread sleeping functionality for WASI processes
- Fixed the files system benchmark which was not compiling
- Modified the file system trait so that it is SYNC and thus can handle multiple threads
- Removed the large mutex around filesystem state and implemented granular locks instead
  (this is needed to fix a deadlock scenario on the terminal)
- Split the inodes object apart from the state to fix the deadlock scenario.
- Few minor fixes to some warnings when not using certain features
- Sleeping will now call a callback that can be used by the runtime operator when
  a WASI thread goes to sleep (for instance to do other work)
- Fixed a bug where paths that exist on the real file system are leaking into VFS
- Timing functions now properly return a time precision on WASI
- Some improved macros for error handling within syscalls (wasi_try_ok!)
- Refactored the remove_directory WASI function which was not working properly
- Refactored the unlink WASI function which was not working properly
- Refactored the poll WASI function which was not working properly
- Updates some of the tests to make them compile again
- Rewrote the OutputCapturer so that it does leak into the internals
2022-06-15 12:00:24 +02:00
Manos Pitsidianakis
3d4aada4dd cli-compiler: fix non-compilation with default features
Crate cannot be published on crates.io if the default compilation does
not work.
2022-06-06 23:24:04 +03:00
Manos Pitsidianakis
f01ad34b8c cli-compiler: fix dead_code lint when all features are off 2022-06-06 23:17:49 +03:00
Manos Pitsidianakis
33654c1a1d Release version 2.3.0 2022-06-06 22:27:57 +03:00
ptitSeb
3d5415dcb9 Added cranelift to build-wasmer-wasm 2022-05-24 16:33:11 +02:00
ptitSeb
0c7ea79bfc Cleanup:
Removed conditionnal toml on wasm for VM as it's not builded in that configuration
Added unwind to wasm build
Moved Trap back to vm (from types) as it's used only on Runtime
Move MemoryError back to vm (from types) as it's used on Runtime only scenario
Some cleanup and lint fixes
Removed wasm build case from vfs/host_fs as it's not used
2022-05-03 09:34:13 +02:00
ptitSeb
8010cb88e7 Created stand-alone wasmer-compiler, builded only as a .wasm target for now
Removed leftover trace of compiler feature in compiler-cli
Excluded the new wasmer-compiler-cli from lint test, like wasmer-cli it's based on
2022-05-03 09:32:34 +02:00