Commit Graph

127 Commits

Author SHA1 Message Date
7d796101f7 Merge remote-tracking branch 'origin/master' into dcgi 2023-12-20 11:45:27 +11:00
519729ed8f fix(docs): add cpp in Chinese 2023-11-30 17:22:59 +08:00
00fc6f6065 More wiring of the journal snapshot triggers 2023-11-20 11:22:08 +11:00
4906460ea9 Updated the journal documentation file 2023-11-20 10:58:57 +11:00
63980d8c4e Minor document updates 2023-10-25 09:29:00 +11:00
99ecf2b46e Added compactor and filter snapshot capturer 2023-10-23 16:15:57 +11:00
8f11ac78b0 Addressed comments and added a basic doc 2023-10-23 07:27:12 +11:00
98188df800 chore: fix unavailable document url (#4198) 2023-09-02 16:28:35 +00:00
cf319ea83a Fixed Chinese README example (#3836)
Update README.md
2023-05-02 08:23:15 +02:00
3ac431eb3c Fixed FunctionEnv migration doc to 3.0 (#3806) 2023-04-21 09:38:33 +00:00
d3d2a04b0f Fixes Chinese docs links (for #3746) (#3750)
* Fixes Chinese docs links (for #3746)

* Fixed php link on Chinese readme
2023-04-11 12:31:34 +01:00
42a92d831e Fix error in Korean translation (#3761) 2023-04-11 06:56:26 +00:00
7500ce76fc Feat riscv llvm and cranelift (#3244)
* Basic changes for RISC-V support

* RISC-V in compiler LLVM

* RISC-V support in dylib engine

* RISC-V support in universal engine

* Various small fixes

* [RISCV] LLVM-riscv working, with some ignored tests to be worked on later

* Update rustc to 4.65 (1.64 has some issue with riscv64 target)

* Fixed some (new) Linting issues

* Updated Cargo.toml and remove split-debuginfo for Windows build

* Removed profile.dev from Cargo.toml as it cannot be per platform (breaks Windows). split-debug info is now the default value

* Enable Cranelift compiler for RISCV

* Update crates and fixed all the new clippy errors

* Taken review remarks into account

* Removed change from deny.toml, it's not needed anymore

* Added some more comment about llvm abi hack

* Added doc about current state of RISCV support

* Fixed (newer) linter

---------

Co-authored-by: Toru Nayuki <tnayuki@icloud.com>
2023-03-22 15:26:28 +01:00
ed0951fbce add basic coredump generation
This change adds a basic coredump generation after a WebAssembly trap
was entered. The coredump includes rudimentary stack / process debugging
information.

A new CLI argument is added to enable coredump generation:

```
wasmer --coredump-on-trap=/path/to/coredump/file module.wasm
```

See docs/en/examples-coredump.md.

Refs https://github.com/wasmerio/wasmer/issues/3578
2023-02-27 21:12:28 +00:00
4d0460e2c6 Merge remote-tracking branch 'origin/master' into wasix 2023-02-22 11:15:16 +01:00
4d8163d296 Add documentation for create-exe syntax (#3536)
* Add documentation for create-exe syntax

* nit: fix --precompiled-atom description

Co-authored-by: Syrus Akbary <me@syrusakbary.com>

* nit: fix PiritaFile

Co-authored-by: Syrus Akbary <me@syrusakbary.com>

* nit: multi-atom -> multi-wasm

Co-authored-by: Syrus Akbary <me@syrusakbary.com>

* create-exe doc: Add missing space

---------

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
2023-02-21 17:53:42 +01:00
05b237156d Add expected file names 2023-02-03 11:39:29 +01:00
fdea14fce1 Merge branch 'master' into release-process 2023-01-30 10:09:15 +01:00
42f58d0c98 Merge remote-tracking branch 'origin/master' into wasix 2023-01-28 08:30:02 +01:00
58a85d526a Add last video 2023-01-27 09:09:22 +01:00
f6e6829a9b Fix markup in Japanese README 2023-01-27 12:32:36 +09:00
e13b09fb38 Add video for publishing part 2 2023-01-26 19:29:41 +01:00
71cddefaf6 Add video links 2023-01-26 19:22:36 +01:00
d6b0312f05 Update release.md documentation 2023-01-26 18:38:06 +01:00
d1b7158e8a Document release process 2023-01-26 12:58:06 +01:00
576074914a Renamed all WasiState::new() calls 2023-01-16 15:43:16 +00:00
61190088d2 Partial rebase to wasmer master (non-functional) 2022-11-07 15:15:25 +01:00
572ea3e9cd Changes required to bring in full WASIX support
- Implemented multi-threading for both JS and SYS, plus other WASIX implementations
- Added a longjmp capability required for bash and other WASIX implementations
- Added real signals to WASIX
- Added a stack unwinding and winding functionality
- Implemented memory forking which will be used for process forking
- Added the ability to fork the current process
- Added the vfork functionality
- Moved over to the WasiPipe implementation
- Added more syscalls needed for bash on WASIX
- Ported wasmer-os into wasmer
- Added a union file system and the character devices
- Moved the cursors to the file handles rather than the file so that they are multithread safe and can handle concurrent IO
- Reimplemented the poll_oneoff functionality to support full ASYNC
- Added support for mapping directories in the host file system into WASIX sandbox file systems
- Implemented fully ASYNC sockets and emulated ASYNC files
- Made the file locks more granular to allow for concurrent poll and accept operations
- Fixed a race condition on the event notifications
2022-11-07 15:11:29 +01:00
197ff4f5ce Fixed main README ocaml homepage link and added ocaml in other language README 2022-10-19 09:59:14 +02:00
4e3628727a fix the typos 2022-09-19 20:35:35 +08:00
3225852547 Update migration_to_3.0.0.md 2022-09-13 08:22:43 -07:00
1912373e1f The API breaking changes from future WASIX/Network/Threading addition 2022-08-26 10:46:56 +02:00
b6a6897ef5 Add proper description of MemoryView API 2022-08-23 15:52:50 +02:00
d0dd830306 Initial update for migration-to-3.0.0 for MemoryView 2022-08-23 13:38:08 +02:00
544cbe005d Update migration_to_3.0.0.md 2022-08-16 18:48:17 +02:00
2f177a1cd3 Improved migration guide. Close #3113 2022-08-16 18:47:19 +02:00
ba38b7e214 Add wasi_* C-API function changes in migration guide for 3.0.0
- `wasi_env_new` changed signature
- `wasi_get_imports` changed signature
- `wasi_env_set_memory` was added

Closes #3077
2022-08-10 15:59:46 +03:00
6b39488b69 Update migration documentation for *_with_env(…) functions 2022-08-05 14:27:44 +02: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
3a1424ec4a Update docs/migration_to_3.0.0.md 2022-07-21 13:51:58 -07:00
dbeebfc6b9 Apply suggestions from code review 2022-07-21 13:50:41 -07:00
46ca6a8171 Update docs/migration_to_3.0.0.md 2022-07-21 14:11:01 +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
b5ae6399ce update Migration guide 2022-07-19 15:31:51 +03:00
e9d54e130c Remove engine-dylib 2022-06-16 16:57:45 +03:00
2f1c61e56b Update CHANGELOG.md and migration_to_3.0.0.md 2022-06-16 16:57:45 +03:00
308d8a0a4b Add docs/migration_to_3.0.0.md 2022-06-08 14:09:40 +03:00
b231c8c329 Typo fixed (line 19) 2022-05-13 22:37:20 -03:00