-
Notifications
You must be signed in to change notification settings - Fork 23
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
remove_generated_code #30
Conversation
…ontrol. Generate in OUT_DIR.
#[path = "envoy.config.core.v3.rs"] | ||
pub mod v3; | ||
pub mod v3 { | ||
include!(concat!(env!("OUT_DIR"), "/envoy.config.core.v3.rs")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We switched from include!
to path
because @unleashed mentioned that include!
does not work in some IDEs #5 (comment)
@andrewdavidmackenzie This PR breaks the Intellij integration for me. Intellij is not able to find the files generated from the protobufs and it shows in red all the structs like |
|
@davidor using #[path] instead of include!() works, but IntelliJ still cannot find the files, as it's looking in /src I assume. |
I think this has been addressed as part of #104 - reopen if I'm wrong! |
Generate code for protobuf in "OUT_DIR" not under src/ and remove those files from version control.