-
Notifications
You must be signed in to change notification settings - Fork 83
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
Rocket example doesn't compile: can't find crate for rocket_codegen
#33
Comments
What version of rust are you using? The rocket example only works on the nightly version. |
Ah, I had nightly but I didn't have |
I can't get rust_codegen plugin working either, even on nightly rust. I get "Package myproject does not have these features: |
i've got the same error here. cargo +nightly run --example rocket --features nightly error: Package if i try only cargo run error: dlsym(0x7fa7b74156b0, rustc_plugin_registrar_e7907f37b0dc50ddf9d71b111db3523f): symbol not found error: aborting due to previous error |
@rsdomingues Are you executing that in this library or your own? What is |
@Mcat12 I had the same problem, and I think @rsdomingues is refering to this tutorial https://medium.com/sean3z/building-a-restful-crud-api-with-rust-1867308352d8 |
What is the goal that you/they are trying to accomplish? It doesn't make sense to try to run another crate's examples from your own project. You need to be in the rust-embed crate to run rust-embed examples. |
check the first two lines; its different for rocket v0.3 and v0.4 it should work now... :) |
@web3dopamine your solution works thanks. I wish they stuck with the old syntax (pre v0.3) for the first two lines. that made more sense |
The text was updated successfully, but these errors were encountered: