Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental: Add support for v8 #5138

Merged
merged 11 commits into from
Oct 10, 2024
Merged

Experimental: Add support for v8 #5138

merged 11 commits into from
Oct 10, 2024

Conversation

xdoardo
Copy link
Contributor

@xdoardo xdoardo commented Oct 7, 2024

Use v8 as a backend for wasmer.

Note: this PR builds on the work for wasmi - related PR here.

(Closes #5078, fixes RUN-428)

@xdoardo xdoardo requested a review from syrusakbary as a code owner October 7, 2024 11:16
@xdoardo xdoardo changed the base branch from wamr to wasmi October 7, 2024 11:17
@xdoardo xdoardo linked an issue Oct 7, 2024 that may be closed by this pull request
lib/api/Cargo.toml Outdated Show resolved Hide resolved
Comment on lines 100 to 105

#[cfg(feature = "v8")]
#[allow(clippy::too_many_arguments)]
pub fn call(&self, mut store: &mut impl AsStoreMut, $( $x: $x, )* ) -> Result<Rets, RuntimeError> where
$( $x: FromToNativeWasmType + NativeWasmTypeInto, )*
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make this into a single function

Base automatically changed from wasmi to release-5.0 October 10, 2024 10:49
@syrusakbary syrusakbary merged commit 8af03ff into release-5.0 Oct 10, 2024
63 of 72 checks passed
@syrusakbary syrusakbary deleted the v8 branch October 10, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add V8 support to Wasmer
2 participants