Don't place a raw pointer in a static.#5
Conversation
|
Hey @eddyb, thanks for the PR and heads up about this. I'm not sure what to do here in regard to providing familiar bindings to libdispatch.
It's still allowed to use a 'static Sync reference in a static, right? I think I'm just going to try changing the type of this to |
|
The fix I've applied is in 3d68d46, let me know if that looks like it'll still cause issues. Thanks a bunch for reaching out about the issue, really appreciate it :) |
|
That works as well, thank you for handling it! |
It was only ever allowed because of a bug, see rust-lang/rust#33130.