-
Notifications
You must be signed in to change notification settings - Fork 323
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
Chaos ensues when cargo miri is run concurrently #2340
Comments
RalfJung
added
C-bug
Category: This is a bug.
A-cargo
Area: affects the cargo wrapper (cargo miri)
labels
Jul 6, 2022
matthiaskrgr
added a commit
to matthiaskrgr/icemaker
that referenced
this issue
Jul 9, 2022
Uh, no, I have specifically edited the comment to not indicate that this should be closed... |
@matthiaskrgr the latest nightly has a Miri with this fix. Could you give that a try? |
running miri in parallel since two hours now and i did not run into problems yet :) |
Awesome. :) Going to close this as fixed then. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two instances of cargo miri running concurrently can lead to the following fun situation:
Then we end up building a no-std systroot. oops
We need to either do the Xargo.toml writing atomically via
rename
or so and hope that xargo itself is fine with the concurrency, or (probably better) have some kind of file system locking.Thanks to @matthiaskrgr for reporting this.
The text was updated successfully, but these errors were encountered: