Skip to content

codegen_drop doesn't handle unwinding #221

Description

@avanhatt

statement.rs has this comment that needs a tracking issue:

    // TODO: this function doesn't handle unwinding which begins if the destructor panics
    fn codegen_drop(&mut self, location: &Place<'tcx>, target: &BasicBlock) -> Stmt {

Activity

  1. added
    [C] Bug
    on Mar 15, 2022
  2. added
    [C] Feature / Enhancement
    and removed on Mar 24, 2022
  3. danielsn commented on Mar 24, 2022

    @danielsn
    Contributor

    Kani does not support unwinding in general at this time.

  4. added theissue type on Apr 1, 2026
  5. added
    Z-Kani Compiler
    on Nov 5, 2026
  6. changed the issue type fromtoon Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z-Kani Compiler[C] Bug[C] Feature / Enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions