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
Hi, I recently updated my project's salsa to the newest version, and everything works well in debug mode. But as
soon as I switched to the release build, a weird panic occurred:
You can see in the pic above that Rust is saying that two pointers with the address 0×14660cbb0 are not equal.
See salsa-rs/salsa#536
There's a fix in the main stream, but that fix is using an unstable api
`std::ptr::addr_eq` which will cause compile failure in our ci.
Anyway, I decided to swicth salsa to my custom fork before it went
stable to avoid possible similar issues.
Hi, I recently updated my project's salsa to the newest version, and everything works well in debug mode. But as
soon as I switched to the release build, a weird panic occurred:
You can see in the pic above that Rust is saying that two pointers with the address
0×14660cbb0
are not equal.After some digging around, I found this issue: rust-lang/rust#107975
And this: rust-lang/rust#107975
I believe there's a mistake in the mid-query check, instead of checking the equivalent of two fat pointers, we shall check only the address.
salsa/src/local_state.rs
Lines 87 to 91 in e4ce917
The text was updated successfully, but these errors were encountered: