You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that #9593 will start to hide the problem because it'll start handling when the symbol is NULL, but this is still a problem in that the reason it's NULL to begin with needs to be investigated.
Triage bump. @alexcrichton@sanxiyn Do you know if this is still happening? Based on the gate, it doesn't look like but I don't have a good way to prove it.
@sanxiyn re weak symbols, some work started here #12556 by adding support for linkage flavors
This does indeed appear to be working now, our android bot is definitely running tests with logging and crate maps. This has likely been fixed in the meantime.
Closing, but if this still reproduces, feel free to reopen!
…ox, r=flip1995
Update `from_raw_with_void_ptr` to support types other than `Box`
This PR updates the `from_raw_with_void_ptr` lint, which covered
`Box::from_raw`, to also cover the `from_raw` static method of the
`Rc`, `Arc`, `alloc::rc::Weak` and `alloc::sync::Weak` types.
It also improves the description and error messages of this lint.
---
changelog: [`from_raw_with_void_ptr`]: Now works with the `Rc`, `Arc`, `alloc::rc::Weak` and `alloc::sync::Weak` types.
See #9120 for details. Probably related to how the logging system is initialized from the crate map using a weak symbol.
The text was updated successfully, but these errors were encountered: