-
Notifications
You must be signed in to change notification settings - Fork 137
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
Compilation fails with thread safety errors in arena.rs #2749
Comments
This is really blocking :/ (I spent hours and unfortunately, I didn't find documentation that would "guide" newcomers to execute a simple basic, boilerplate, properly, without errors), then iterate on that |
I think this might be related to a soundness fix in the I tested it localy and master build but running It looks like the @adri326 you were working on the atom table in #2736 and reported the issue in It looks like AtomTable gets away with this as it manually implements Sync and Send. |
You did yank 0.1.1, so that makes sense. The current implementation of We could just manually implement |
|
That part is sound, yeah. The only part where I struggled to prove thread-safety (at least for |
Even if I didn't yank it, cargo would pull in the latest semver compatible version of
|
The atomic operations in the replace of the |
Given that we came to the conclusion that it should be sound even though scryer currently misses some Send/Sync impl that would prove this to the type system with the fixed For now a workaround would be to downgrade |
When using scryer-prolog as a dependency with
default-features = false
, compilation fails with thread safety errors inarena.rs
. The error occurs with Rust 1.83.0.Reproduction:
cargo build
Environment:
Is this normal? What am I missing?
The text was updated successfully, but these errors were encountered: