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(backend) Filter Impl after adding comments. #1210

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

maximebuyse
Copy link
Contributor

Fixes #1202.

This avoids creating an fst file with only comments in it in fsti-only mode. The filtering of Impl elements is moved to after treating comments.

Copy link
Contributor

@karthikbhargavan karthikbhargavan left a comment

Choose a reason for hiding this comment

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

Can we add some tests?

engine/backends/fstar/fstar_backend.ml Show resolved Hide resolved
@maximebuyse
Copy link
Contributor Author

Can we add some tests?

Done

@maximebuyse maximebuyse force-pushed the filter-fst-comments-interface-only branch from 58c86e7 to bb0a959 Compare December 24, 2024 11:12
@maximebuyse
Copy link
Contributor Author

Can we add some tests?

Done

Actually the test I added breaks the CI because it tests the running hax on unsupported rust code (where hax produces a result but with an exit code of 1). I think we should merge anyway, but it would be nice to be able to test what happens with unsupported code. I'll add a comment in #485

@maximebuyse maximebuyse added this pull request to the merge queue Dec 24, 2024
Merged via the queue into main with commit 1e7bbd1 Dec 24, 2024
30 checks passed
@maximebuyse maximebuyse deleted the filter-fst-comments-interface-only branch December 24, 2024 11:44
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.

Interface only mode still produces an fst file if there are errors
2 participants