-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make static ns_string!
s work inside closures
#258
Comments
Similar error when using: RUSTFLAGS="-Clink-dead-code" cargo build --example basic_usage |
I've cfg-gated the functionality behind the feature flag |
|
A change in Note that this happens even if the Will probably need to bisect |
I bisected it to rust-lang/rust#115126, probably rust-lang/rust#115114, but also found that it only appears if you place the string in another static, not if you just use it as an expression. So probably not worth doing more about. |
ns_string!
macro work inside closuresns_string!
s work inside closures
Sorry to necropost, but given the Rust bisection work you did last year what is the status of the |
I doubt it, I suspect the two statics that's needed for this, the one in |
They don't currently for some reason!
Discovered in #254.
The text was updated successfully, but these errors were encountered: