-
Notifications
You must be signed in to change notification settings - Fork 386
TB: add Cell
state to support more fine-grained tracking of interior mutable data
#4273
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
Conversation
Testing if this works: |
Looks good, thanks. :) My comments are all minor. @rustbot author |
Reminder, once the PR becomes ready for a review, use |
e5e5413
to
c073dd6
Compare
@rustbot ready |
@rustbot author Also, why is this marked as "draft"? Since you were asking for a review, I assume this is ready to land, so please update the PR status accordingly. Usually "draft" means "not yet ready for review". |
@rustbot ready |
This looks great, thanks! Please squash the commits, then we can land this. Please use the @rustbot author |
64b11de
to
119409c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It seems like something went wrong with the rebase. Make sure you have the latest upstream commit fetched into your local clone. |
So you mean that I should run |
It depends on your setup. For me, it's |
Ok, now I have fetched the latest commit from the upstream remote. What would be the next step? |
I have linked the tutorial for squashing above: https://rustc-dev-guide.rust-lang.org/git.html#squash-your-commits |
Running |
Then your |
I get |
Hm that doesn't check out, your branch is not based on Or you can check |
The commit ID before the broken rebase seems to be 64b11de, so the best fix is probably |
Doing |
Great. :) |
This adds a new
Cell
state to TB to represent shared references to interior mutable data. This is still a WIP for making the tracking of interior mutable data per-byte, like in Stacked Borrows.cc @RalfJung @JoJoDeveloping