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

Address sanitizers for Rust #325

Merged
merged 4 commits into from Jul 6, 2023
Merged

Address sanitizers for Rust #325

merged 4 commits into from Jul 6, 2023

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Jun 30, 2023

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

@Bromeon Bromeon added feature Adds functionality to the library c: tooling CI, automation, tools labels Jun 30, 2023
bors bot added a commit that referenced this pull request Jun 30, 2023
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-325

@bors
Copy link
Contributor

bors bot commented Jun 30, 2023

try

Build failed:

@Bromeon
Copy link
Member Author

Bromeon commented Jul 2, 2023

bors try

bors bot added a commit that referenced this pull request Jul 2, 2023
@bors
Copy link
Contributor

bors bot commented Jul 2, 2023

try

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@Bromeon
Copy link
Member Author

Bromeon commented Jul 6, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 6, 2023

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 4ebd736 into master Jul 6, 2023
7 checks passed
@bors bors bot deleted the feature/ci-asan branch July 6, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: tooling CI, automation, tools feature Adds functionality to the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants