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

Fix miri issues with bbbul #1

Merged
merged 4 commits into from
Nov 25, 2024
Merged

Fix miri issues with bbbul #1

merged 4 commits into from
Nov 25, 2024

Commits on Nov 25, 2024

  1. Fix miri issues with bbbul

    As we are building a forward linked list, by the time we modify a node to set its successor,
    that node is already referenced in its predecessor.
    
    That means that we cannot claim exclusive ownership to the node whose successor we want to set.
    Instead, we're using interior mutability to the `next_node` inside of the `Node` structure, so
    that we can do everything with shared references.
    dureuill committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    9bb3040 View commit details
    Browse the repository at this point in the history
  2. Add implementation comment

    dureuill authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    266d326 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    268d521 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7dbf83d View commit details
    Browse the repository at this point in the history