-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Address sanitizers for Rust #325
Conversation
API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-325 |
tryBuild failed: |
Just running AddressSanitizer may not be enough; it needs to be explicitly enabled for Rust in addition to C++. External resources: * https://rustc-dev-guide.rust-lang.org/sanitizers.html#how-to-use-the-sanitizers * https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
bors try |
tryBuild succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
bors r+ |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
We have missed a lot of UB that occurred only in Rust code and wasn't detected by AddressSanitizer outside of C++ code. This PR enables ASan for Rust code using
-Zsanitizer=address
in the two memcheck CI jobs. As such, this is a follow-up to #133.The CI currently fails because there is still some UB on
master
... ideally we can fix this soon.bors try