-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DST example fails to codegen #566
Milestone
Comments
98 tasks
Still crashes with the same signature as of |
4 tasks
celinval
added a commit
to celinval/kani-dev
that referenced
this issue
Nov 2, 2022
We currently have a few issues with how we are generating code for casting (model-checking#566, and model-checking#1528). The structure of the code is also hard to understand and maintain (see model-checking#1531 for more details). This PR is the first part of the fix I developed. This change moves the coercion specific code to its own module and it introduces an iterator that traverses the coercion path.
4 tasks
celinval
added a commit
that referenced
this issue
Nov 9, 2022
We currently have a few issues with how we are generating code for casting (#566, and #1528). The structure of the code is also hard to understand and maintain (see #1531 for more details). This PR is the first part of the fix I developed. This change moves the coercion specific code to its own module and it introduces an iterator that traverses the coercion path.
celinval
added a commit
to celinval/kani-dev
that referenced
this issue
Nov 9, 2022
Fix issues with how we are generating code for casting (model-checking#566, and model-checking#1528). Restructure the unsize casting to be done in one pass instead with deep recursion (model-checking#1531). This also reuses the code from the reachability analysis, so we don't have to keep two ways of traversing the same structure.
celinval
added a commit
to celinval/kani-dev
that referenced
this issue
Nov 9, 2022
Fix issues with how we are generating code for casting (model-checking#566, and model-checking#1528). Restructure the unsize casting to be done in one pass instead with deep recursion (model-checking#1531). This also reuses the code from the reachability analysis, so we don't have to keep two ways of traversing the same structure.
4 tasks
Repository owner
moved this from In Progress
to Done
in Kani v0.3
Nov 14, 2022
Repository owner
moved this from In Progress
to Done
in Kani 0.15
Nov 14, 2022
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The following example from
The Rustonomicon/Data Layout/Exotically Sized Types/47.rs
shown belowfails to codegen with
The text was updated successfully, but these errors were encountered: