Make bindings generation fast and IDE-friendly #789
Labels
bug
c: bindings
Component: GDNative bindings (mod api)
c: tools
Component: tooling, tests, IDEs, Cargo, Rust ecosystem
Milestone
The current approach of writing the entire bindings into a single file
generated.rs
seems to be fast regarding compile/link times, but causes problems with the CLion IDE due to the large file size: intellij-rust/intellij-rust#6134The
gdnative-bindings
crate comes with two features:The main crate
gdnative
exposes a featureformatted
, which enables both of the above. This seems to fix the CLion issue, but it also looks like it increases compile time significantly.In my opinion, we should:
The text was updated successfully, but these errors were encountered: