Skip to content

Conversation

bjorn3
Copy link

@bjorn3 bjorn3 commented Aug 27, 2025

This is meant as an alternative to rust-lang/rust#145734 that also works for non-builtin macros. It currently doesn't work yet as kani::panic can't be referenced from libstd as it doesn't depend on kani. Presumably the definition of this function can be moved into the panic overwrite file. I'm not familiar enough with how everything is set up to actually do this though. If someone with more Kani experience can pick this PR up, that would be appreciated. If you don't like the approach I've taken (eg it is considered too hacky), feel free to close.

@github-actions github-actions bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Aug 27, 2025
@zhassan-aws
Copy link
Contributor

Nice, thanks @bjorn3! We'll test this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants