-
Notifications
You must be signed in to change notification settings - Fork 89
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
Tokio build fails in v0.3.x #190
Comments
This repo is set up to triage issues with Tribble, but this issue couldn't be processed. If you deliberately didn't use Tribble to report this issue, you can safely ignore this warning. If you did, something's gone wrong here. |
What's the output of |
perseus-cli 0.3.5 |
Does it work with the latest beta ( |
That worked! So it looks like 3.4/5 is defunct because of updated dependencies? |
Interesting. What are the contents of In the meantime v0.4.x is still in beta, but is, I would say, functionally very near to stable, so I would recommend using that version despite the 'beta' label. |
Ok, will do. I should point out that the book link under "What's it like?" in the Readme goes to version 3.4. Cheers |
Thanks for the reminder about that link, I'll fix that! That all looks fine, how about |
Here ya' go:
|
Would you try changing |
the result after running perseus serve:
|
Hmm. How about |
There is no .perseus/engine directory. However there is a dist\target_engine directory. |
Oh sorry! I meant |
|
Okay, those errors should be caused by what I asked you to change before. This problem seems to be that |
The error is because of tokio-rs/tokio#4979. Tokio recently added limited support for wasm whereas before it would just not work. It used to be possible to compile tokio to wasm with all the feature flags (even though it was useless) but now it produces a compile-time error instead. |
Oh, great. I'll probably have to release a new version of v0.3.x then, with the Tokio version pinned. I'll pin this issue in the meantime. |
Alright, this should be fixed in v0.3.6. @coruscateor could you confirm that everything's working with that version, please? |
I don't think so:
|
Make sure you've run |
That worked! So should I use 0.3.6 over 0.4.0-beta.9? |
Fantastic! Use whichever you prefer, honestly. 0.4.x should be faster and a bit better overall, but the docs are more complete for v0.3.6. |
I'm trying to build the Perseus hello-world example following:
https://framesurge.sh/perseus/en-US/docs/0.3.4/tutorials/hello-world
I get:
My cargo.toml:
The lib.rs code is the same as what's in the link.
This is on Windows 10.
The text was updated successfully, but these errors were encountered: