Skip to content

Emit c"" literals from macros on Rust 1.77+ #4261

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

Closed
davidhewitt opened this issue Jun 18, 2024 · 0 comments · Fixed by #4269
Closed

Emit c"" literals from macros on Rust 1.77+ #4261

davidhewitt opened this issue Jun 18, 2024 · 0 comments · Fixed by #4269

Comments

@davidhewitt
Copy link
Member

davidhewitt commented Jun 18, 2024

See #4255 (comment)

We should explore changing our macro implementation to prefer c"" literals over invoking our backwards-compatibility c_str!("") macro. This should lead to cleaner generated code & better compile times on sufficiently new Rust compilers.

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 a pull request may close this issue.

1 participant