Skip to content

Insert static items into the value namespace#3194

Merged
P-E-P merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-static
Oct 14, 2024
Merged

Insert static items into the value namespace#3194
P-E-P merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-static

Conversation

@powerboat9

Copy link
Copy Markdown
Collaborator

No description provided.

gcc/rust/ChangeLog:

	* backend/rust-compile-item.cc
	(CompileItem::visit): Check canonical path of StaticItem
	properly when name resolution 2.0 is enabled.
	* resolve/rust-toplevel-name-resolver-2.0.cc
	(TopLevel::visit): Insert static items into the value namespace.

gcc/testsuite/ChangeLog:

	* rust/compile/nr2/exclude: Remove entries.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
@P-E-P P-E-P self-requested a review October 14, 2024 08:15

@P-E-P P-E-P left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@P-E-P P-E-P added this pull request to the merge queue Oct 14, 2024
Merged via the queue into Rust-GCC:master with commit 71d2084 Oct 14, 2024
@powerboat9 powerboat9 deleted the fix-static branch October 14, 2024 17:57
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