Skip to content

update for ptr provenance #468

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

Merged
merged 2 commits into from
Oct 11, 2018
Merged

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Oct 5, 2018

Adds a new data structurue, mono_hash_map, which uses RefCell to be able to insert new entries even when we just have a shared ref. However, it is important that we can also return shared refs into the map without holding the RefCell open. This is achieved by boxing the values stored in the map, so their addresses remain stable even when the map's table gets reallocated. This is all implemented in mono_hash_map.rs.

Waiting for rust-lang/rust#54461

@RalfJung RalfJung changed the title WIP: update for ptr provenance update for ptr provenance Oct 10, 2018
@RalfJung RalfJung requested a review from oli-obk October 11, 2018 06:46
@oli-obk oli-obk merged commit 6166452 into rust-lang:master Oct 11, 2018
@RalfJung RalfJung deleted the pointer-provenance branch October 12, 2018 08:42
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