You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
@brson See the code in metadata::encoder::encode_info_for_mod. The impl_map (maps everwhere!) is used for two things -- recording impls-in-scope for functions and method calls, and recording exported impls visible for mods. That's why it contains a linked list of scopes, but the entries for modules always contain a list of length 1 (I guess an enum would have made sense there).
…ler (rust-lang#1956)
This PR is a pre-req for getting a per-harness reachability algorithm. First we need to stop treating all goto generated by the compiler as the same model which is what this PR does.
For that, I introduce the concept of a project, which is basically a container of artifacts produced by the build system. The goal is to abstracts the verification code from the build system we pick. It also provide methods to get artifacts relevant to a harness. Today this method will return the artifact related to the crate where it is contained, but in the future it can be easily modified to be the harness specific goto model.
The only behavioral change in this PR is that we disabled `--gen-c` for `--function` and `--legacy-linker` to simplify the code since all these options are for internal usage or on track to be deleted.
This change also fixes inconsistent / incorrect behaviors. They are the following:
1. Kani is now sound when two or more targets contains harnesses or no mangled functions that have the same name (rust-lang#1974). Note that this is not the case for `--legacy-linker` and `--function` options.
2. `kani` now respects the `--target-dir` argument provided by the customer.
3. `kani` no longer crash when the crate has no harness (rust-lang#1910).
Co-authored-by: Zyad Hassan <[email protected]>
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
http://doc.rust-lang.org/doc/core/index.html
This page should list vec_len, reexported from core::vec
The text was updated successfully, but these errors were encountered: