Skip to content

Stop failed Rust specs and release their Lean references - #176

Merged
devin-ai-integration[bot] merged 6 commits into
unify-embedfrom
devin/1796221899-rust-spec-panic-cleanup
Dec 2, 2026
Merged

devin-ai-integration[bot] merged 6 commits into
unify-embedfrom
devin/1796221899-rust-spec-panic-cleanup

Conversation

@conao3

@conao3 conao3 commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Propagate a failed Lean spec past the first generated call boundary, before its panic default can become the next loop stride.
  • Release live Lean references during spec-mode unwinding, including closure and thunk calls. Keep constructor reset/reuse on the allocating path during spec evaluation so unwind never traverses a partly reset constructor.
  • Omit the unwind bookkeeping from Aeneas's extraction build, where Drop is not modeled. Regenerate embedded fixtures and standalone samples for Rust generator version 8.

This is the Rust prerequisite for #173.

Verification

  • Rust make check and make check-verify pass, including the zero-stride and reference-reclamation regressions, proved replacement (csimp), stale propagation, and fresh generation of the checked-in verification artifacts.
  • The native Rust/C oracle matches 182 vector and 70 I/O lines both with and without spec mode.

🟢 Devin Review found nothing to fix · View findings

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Validation: make format BACKENDS=Rust, Rust library tests and Clippy, native-oracle differential in both modes.
Validation: make format BACKENDS=Rust, git diff --check, and regenerate the verification fixture from scratch to compare the committed cache, manifest and lock.
Validation: make format BACKENDS=Rust and git check-attr for all committed Rust caches.
Validation: regenerate step-09-lake-project and roman-numerals, make format BACKENDS=Rust, git diff --check.
Aeneas does not execute Drop, so extraction rejects a modeled caller that reaches a generated PanicFrame. Use a no-op frame in the existing extraction-only build and keep ownership tracking in executable builds.

Validation: make format BACKENDS=Rust, git diff --check.
@devin-ai-integration
devin-ai-integration Bot merged commit a8c79eb into unify-embed Dec 2, 2026
31 of 35 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1796221899-rust-spec-panic-cleanup branch December 2, 2026 17:12
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.

1 participant