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

Make wasmtime dependency in wiggle and wasi-common optional with a default feature #7792

Merged

Conversation

juntyr
Copy link
Contributor

@juntyr juntyr commented Jan 18, 2024

I am trying to use wasi-common (and thus also wiggle) to provide a common WasiCtx implementation that is reused between wasmtime and a custom runtime (as briefly mentioned in #7776). At the moment, compiling these packages also compiles wasmtime, which is not supported on my platform. I propose to add an enabled-by-default feature to wasi-common and wiggle that guards all wasmtime-specific code and allows both packages to be compiled without a dependency on wasmtime using default-features = false.

@juntyr juntyr requested review from a team as code owners January 18, 2024 09:03
@juntyr juntyr requested review from fitzgen and removed request for a team January 18, 2024 09:03
@github-actions github-actions bot added the wasi Issues pertaining to WASI label Jan 18, 2024
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexcrichton alexcrichton added this pull request to the merge queue Jan 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 18, 2024
@alexcrichton alexcrichton added this pull request to the merge queue Jan 18, 2024
Merged via the queue into bytecodealliance:main with commit e5817d9 Jan 18, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasi Issues pertaining to WASI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants