generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Labels
Z-Kani CompilerIssues that require some changes to the compilerIssues that require some changes to the compiler[C] InternalTracks some internal work. I.e.: Users should not be affected.Tracks some internal work. I.e.: Users should not be affected.
Description
Motivation: The current mechanism that Kani uses for overriding std macros has proven to be very flaky, and doesn't work in some cases (e.g. #2187). We need to develop a more stable mechanism that is not prone to such issues.
Proposed change: Use the compiler driver's query mechanism to provide our own definitions of the macros, similar to how rustc handles builtin macros: https://github.com/rust-lang/rust/blob/160c2ebeca7b4e616962134f230de754fa5433b1/compiler/rustc_builtin_macros/src/lib.rs#L73.
Metadata
Metadata
Assignees
Labels
Z-Kani CompilerIssues that require some changes to the compilerIssues that require some changes to the compiler[C] InternalTracks some internal work. I.e.: Users should not be affected.Tracks some internal work. I.e.: Users should not be affected.