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

add warning explaining the limitations of the native code mode #4098

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

RalfJung
Copy link
Member

Usually, "Miri shows no error" implies that there was a UB-free execution of the program, but with native calls that access Rust memory that is not the case any more. Ensure people are aware of that by showing a warning the first time such a call is made.

@oli-obk oli-obk added this pull request to the merge queue Dec 19, 2024
Merged via the queue into rust-lang:master with commit 3eea5b8 Dec 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants