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

Fix v0-mangle1.rs test when run with ASAN #3148

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

powerboat9
Copy link
Contributor

Fixes a bug with the test case itself, and one with crate_num initialization in CanonicalPath

gcc/rust/ChangeLog:

	* util/rust-canonical-path.h
	(CanonicalPath::CanonicalPath): Properly initialize crate_num
	with copy constructor.

gcc/testsuite/ChangeLog:

	* rust/compile/v0-mangle1.rs: Make v0-mangle test more crate_num
	agnostic.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
@tamaroning
Copy link
Contributor

thanks! lgtm

@P-E-P P-E-P self-requested a review September 6, 2024 10:57
@P-E-P P-E-P added this pull request to the merge queue Sep 6, 2024
Merged via the queue into Rust-GCC:master with commit 12af831 Sep 6, 2024
11 checks passed
@powerboat9 powerboat9 deleted the fix-mangle branch September 6, 2024 12:58
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.

3 participants