-
Notifications
You must be signed in to change notification settings - Fork 8
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
Is proc_macro_hygiene still needed? #30
Comments
So I'm not entirely sure what i even used that for. This is where the proc_macro gets used to construct the f128 input macro Lines 9 to 15 in b5012f0
Does this look like it would compile on stable? (where f128_inner is a proc_macro) |
This looks like the "fn-like proc macro expanding to an expression or statement" feature gate, which was stabilized last summer through this PR that shipped in Rust 1.45 last July. And empirically speaking, I checked that if I just remove the feature gate, the crate builds on stable and seems to behave as intended. |
Alright, I'll remove this and push out a new version of the crate today. Thanks for pointing this out. |
Okay this was fixed with ebd3b21 |
Thanks! |
I recently ended up on this library, and noticed that it did not compile on stable due to use of the
proc_macro_hygiene
nightly feature.Since there's been some movement on proc macro stabilization recently, I figured I'd just try to remove the feature gate and see what happens, and the result builds on stable and seems to produce correct mathematical results (validated against rug/MPFR).
Are you sure you still need this feature gate?
The text was updated successfully, but these errors were encountered: