Commit Graph

20 Commits

Author SHA1 Message Date
Edoardo Marangoni
4791a78bdb
continue update 2024-08-19 09:41:54 +02:00
M.Amin Rayej
f6a2c9f3cc bump up msrv 2024-05-09 21:06:08 +03:30
Syrus Akbary
e2745d8fc2 Update Rust toolchain to 1.73 2024-02-07 14:06:26 +01:00
Michael-F-Bryan
ac16302aad
feat: Bumped the MSRV from 1.69 to 1.70 2023-09-20 00:10:01 +01:00
ptitSeb
ec0a7efbac
Update MSRV to 1.69 (#4109) 2023-08-01 16:55:23 +00:00
Michael-F-Bryan
c79fd7d367
Bump the MSRV to 1.67 2023-05-29 21:08:39 +08:00
ptitSeb
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
ptitSeb
bc140d402d Bumped rust-toolchain too 2022-12-20 13:47:50 +01:00
Christoph Herzog
bc78b91fef
Revert toolchain change from 1.63 to 1.64
No idea why this was done, but it doesn't seem neccessary.
2022-12-19 19:13:04 +01:00
Christoph Herzog
5109a407c4
WASIX Preparation
This commit extracts changes to core libraries made in the WASIX branch.

It is not reasonable to extract the partial commit history, so this is
just a batch commit.

The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
Michael-F-Bryan
b35ea538e7
Bump the MSRV to 1.63 to match derive_arbitrary 2022-11-18 00:28:50 +08:00
ptitSeb
e656120853 Bumped rust toolchain to 1.61 2022-08-26 12:46:02 +02:00
Amanieu d'Antras
ca6f83c7d2 Run Wasm code on a separate stack
This uses the [corosensei](https://crates.io/crates/corosensei) crate to
run Wasm code on a separate stack from the main thread stack.

In trap handlers for stack overflows and memory out of bounds accesses,
we can now check whether we are executing on the Wasm stack and reset
execution back to the main thread stack when returning from the trap
handler.

When Wasm code needs to perform an operation which may modify internal
data structures (e.g. growing a memory) then execution must switch back
to the main thread stack using on_host_stack. This is necessary to avoid
leaving internal data structure in an inconsistent state when a stack
overflow happens.

In the future, this can also be used to suspend execution of a Wasm
module (#1127) by modeling it as an async function call.

Fixes #2757
Fixes #2562
2022-03-14 22:14:22 +00:00
Amanieu d'Antras
f2633d927c Bump rust-toolchain to 1.56 2021-11-15 17:01:28 +00:00
Syrus Akbary
005d129529 Update all packages 2021-08-10 11:40:38 -07:00
Mark McCaskey
0bdf451fd2 Update Rust version to 1.51
This is required by rykv 0.6.0 which fixes a security vulnerability
2021-04-29 07:35:11 -07:00
Mark McCaskey
2e0c587c9b Readd and fixup changes from PR #2248 2021-04-23 09:01:47 -07:00
Mark McCaskey
a15743966e
Revert "Add rust-toolchain to have same cargo fmt on ci and locally" 2021-04-23 08:17:02 -07:00
Bo Yao
4fb0a1da8b use latest stable - 1 2021-04-22 11:33:01 -07:00
Bo Yao
04921070f6 Add rust-toolchain to have same cargo fmt on ci and locally 2021-04-21 16:55:48 -07:00