-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Compiling rocket_http v0.4.7 fails with E0107 #1548
Comments
I think this is related to indexmap-rs/indexmap#144 since it looks like you are using WSL. On WSL something breaks the "is One workaround you can apply for now is to add the following to your own [dependencies]
indexmap = { version = "1.6.1", features = ["std"] } We could also work around this in |
It would be good to backport this for WSL1 users. On WSL2 these errors do not occur. |
@jebrosen I'll leave the decision to backport to you. Please feel free to do so or close this issue. |
@jebrosen What do you think? |
Thanks. |
Bug report
The version of Rocket you're using. Ensure it's the latest, if possible.
0.4.7
The operating system (distribution and version) where the issue occurs.
* The nature of the bug.
It occurs while building (cargo) a project using rocket_http
* When the bug occurs.
running
cargo build
on the example given at https://rocket.rs/v0.4/guide/getting-started/#* What you expected vs. what actually happened.
cargo should build successful, but it fails with:
The text was updated successfully, but these errors were encountered: