Skip to content

Allow format_args to accept a raw string literal#3872

Merged
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-fmt
Jul 7, 2025
Merged

Allow format_args to accept a raw string literal#3872
CohenArthur merged 1 commit into
Rust-GCC:masterfrom
powerboat9:fix-fmt

Conversation

@powerboat9

Copy link
Copy Markdown
Collaborator

No description provided.

gcc/rust/ChangeLog:

	* expand/rust-macro-builtins-format-args.cc
	(format_args_parse_arguments): Accept a RAW_STRING_LITERAL token
	as the first argument.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>

@CohenArthur CohenArthur 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.

haha I was about to submit the exact same changes :D thanks!

@CohenArthur CohenArthur added this pull request to the merge queue Jul 7, 2025
Merged via the queue into Rust-GCC:master with commit 98bc963 Jul 7, 2025
13 checks passed
@powerboat9

Copy link
Copy Markdown
Collaborator Author

Yeah, I got this from trying to compile libcore

@powerboat9 powerboat9 deleted the fix-fmt branch July 7, 2025 14:09
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