Skip to content

gccrs: Handle 1.55 rustc_feature - #4936

Open
powerboat9 wants to merge 1 commit into
Rust-GCC:masterfrom
powerboat9:feature-tweak
Open

powerboat9 wants to merge 1 commit into
Rust-GCC:masterfrom
powerboat9:feature-tweak

Conversation

@powerboat9

Copy link
Copy Markdown
Collaborator

active features can be incomplete and declare_features can invoke itself with __status_to_bool.

"active" features can be "incomplete" and declare_features can invoke
itself with __status_to_bool.

gcc/rust/ChangeLog:

	* checks/errors/feature/contrib/Makefile: Remove copyright year
	templating.
	* checks/errors/feature/contrib/copyright-stub.h: Fill in
	copyright year.
	* checks/errors/feature/contrib/parse.y: Handle incomplete and
	__status_to_bool.
	* checks/errors/feature/contrib/scan.l: Likewise and improve
	string literal escape handling.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
@powerboat9
powerboat9 marked this pull request as ready for review September 24, 2026 23:56
@powerboat9

Copy link
Copy Markdown
Collaborator Author

(this still works for 1.49 to 1.54)

This branch has not been deployed

No deployments
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.

1 participant