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

Reduce the compilation overhead for harnesses with the same set of stubs. #2494

Closed
celinval opened this issue May 30, 2023 · 0 comments · Fixed by #2514
Closed

Reduce the compilation overhead for harnesses with the same set of stubs. #2494

celinval opened this issue May 30, 2023 · 0 comments · Fixed by #2514
Assignees
Labels
[C] Feature / Enhancement A new feature request or enhancement to an existing feature. Z-Kani Compiler Issues that require some changes to the compiler
Milestone

Comments

@celinval
Copy link
Contributor

Requested feature: With the fix to #1841 the compiler will be able to handle multiple harnesses with stubs, but it will rerun the Rust compiler multiple times independent on the set of stubs used on each harness.
Use case: Users may use the same stubs for a set of harnesses, and they can all be processed in the same compiler session. This will reduce the duplicated warnings emitted by the compiler, as well as the time compiling a crate with multiple harnesses that use the same stubs.
Link to relevant documentation (Rust reference, Nomicon, RFC):

@celinval celinval added the [C] Feature / Enhancement A new feature request or enhancement to an existing feature. label May 30, 2023
@celinval celinval added this to the Stubbing milestone May 30, 2023
@celinval celinval added the Z-Kani Compiler Issues that require some changes to the compiler label May 30, 2023
@celinval celinval self-assigned this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Feature / Enhancement A new feature request or enhancement to an existing feature. Z-Kani Compiler Issues that require some changes to the compiler
Projects
No open projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant