-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
Z-Kani CompilerIssues that require some changes to the compilerIssues that require some changes to the compiler[E] PerformanceTrack performance improvement (Time / Memory / CPU)Track performance improvement (Time / Memory / CPU)
Description
Proposed change:
Maybe some strategy for stubbing all string formatting could be helpful for bloat and not affect our correctness? At the very least finding a way to stub unwrap_failed()
specifically would help these instances.
Motivation:
Result::unwrap()
and Result::expect()
seem to have unique call trees going through the core::result::unwrap_failed()
that still cause significant MIR bloat even with panic stubbing. This seems to be due to the way the panic!()
macro is called, causing it to expand into calls to display and debug format functions as well as the actual call to core::panic()
that is eventually stubbed.
Metadata
Metadata
Assignees
Labels
Z-Kani CompilerIssues that require some changes to the compilerIssues that require some changes to the compiler[E] PerformanceTrack performance improvement (Time / Memory / CPU)Track performance improvement (Time / Memory / CPU)