global proc-macro! sideeffects are a terrible idea #65
Labels
api-change
Breaking API change
bug
Something isn't working
java bindgen
How Java types are automatically exposed to Rust
macros
For not-yet public java interop macros I'm introducing a new attribute to share state between invokations:
#![share_state_by_voiding_rustc_semver_and_breaking_randomly_in_the_future]
Per rust-lang/reference#578, the order of proc-macro expansion is not defined, and is likely to eventually change in the future even though right now it seems to be consistently in-order. My use case is something like:
Alternatives
java!
per crate that consumes the entire crate src (maybe a#![java]
proc macro?)The text was updated successfully, but these errors were encountered: