Skip to content
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

Rustup for retagging #506

Merged
merged 15 commits into from
Nov 3, 2018
Merged

Rustup for retagging #506

merged 15 commits into from
Nov 3, 2018

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Nov 1, 2018

Matches rust-lang/rust#55316

Also make our use of -Z flags more consistent.

@RalfJung RalfJung requested a review from oli-obk November 3, 2018 08:33
@RalfJung
Copy link
Member Author

RalfJung commented Nov 3, 2018

The retagging PR is in nightly now.

@RalfJung
Copy link
Member Author

RalfJung commented Nov 3, 2018

Yay Travis is green :)

src/lib.rs Outdated Show resolved Hide resolved
size: Size,
) -> EvalResult<'tcx> {
// This is like mutating
self.use_and_maybe_re_borrow(ptr, size, UsageKind::Write, None)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's nothing else happening? is the fact that the allocation is gone enough?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. What else should happen?

There's a FIXME for doing something with barriers later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea... I was thinking like "clearing the borrow stack", but that's kind of of useless on a deallocated allocation... I can't think of anything here. I was mostly surprised how easy this case seems

src/stacked_borrows.rs Outdated Show resolved Hide resolved
oli-obk and others added 2 commits November 3, 2018 11:39
Co-Authored-By: RalfJung <post@ralfj.de>
@RalfJung RalfJung merged commit 1d2877d into master Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants