Skip to content

target wasm32-wasi would require a edition bump or resolver = "2" #3541

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

Closed
smndtrl opened this issue Jan 23, 2024 · 0 comments · Fixed by #3543
Closed

target wasm32-wasi would require a edition bump or resolver = "2" #3541

smndtrl opened this issue Jan 23, 2024 · 0 comments · Fixed by #3543
Labels
C-bug Category: bug. Something is wrong. This is bad!

Comments

@smndtrl
Copy link

smndtrl commented Jan 23, 2024

Version
1.1.0

Platform
wasm32-wasi

Description
To my understanding, the only reason why a build on wasm32-wasi does not work is, because the project uses resolver = "1" as a result of edition = "2018" (or like that) and the dev-dependencies get mixed in the normal dependencies (see also rust-lang/cargo#10719).
The tests however will not work on wasm32-wasi due to tokio features not yet available there.

Is there a chance to get the edition to 2021 or a resolver = "2" added?

@smndtrl smndtrl added the C-bug Category: bug. Something is wrong. This is bad! label Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug. Something is wrong. This is bad!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant