Skip to content

Handle tail-calls out of an obj fn or closure #85

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

Closed
graydon opened this issue Jun 28, 2010 · 1 comment
Closed

Handle tail-calls out of an obj fn or closure #85

graydon opened this issue Jun 28, 2010 · 1 comment

Comments

@graydon
Copy link
Contributor

graydon commented Jun 28, 2010

Currently we assume 'caller_is_closure = false' in trans_be_fn. IOW tail-calls only work when calling from non-closure to non-closure (including obj fns). This needs completion.

@graydon
Copy link
Contributor Author

graydon commented Jan 27, 2011

WONTFIX (not required for bootstrapping)

oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
deallocate all locals on function exit and transitively freeze constants through pointers
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Check in Cargo.lock for libc-test
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
rchaser53 pushed a commit to rchaser53/rust that referenced this issue Jan 19, 2019
Add the contents of the typeck READMEs
djtech-dev pushed a commit to djtech-dev/rust that referenced this issue Dec 9, 2021
Derive Hash on a bunch of Value types
jaisnan added a commit to jaisnan/rust-dev that referenced this issue Oct 15, 2024
This PR adds to the documentation in the Verification Tools->Kani
section of the [challenge
book](https://model-checking.github.io/verify-rust-std/tools/kani.html).

### Changes
- New step to help Kani user run specific proofs and identify
harness full names.

### Issue
I tried to follow step 1 & 2 but Kani could not find the harnesses in
the example code. At this point there are many proofs in the library so
I couldn't find the full name of the harness in the example code by just
running all proofs. I tried to move `example.rs` into
`library/core/src/ptr/` and use `--harness ptr::verify::example` or
`--harness dummy_proof` but both got `error: no harnesses matched the
harness filter`.

---------

Co-authored-by: Jaisurya Nanduri <[email protected]>
Co-authored-by: Felipe R. Monteiro <[email protected]>
cgwalters pushed a commit to cgwalters/rust that referenced this issue Nov 26, 2024
This issue was closed.
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

No branches or pull requests

1 participant