-
Notifications
You must be signed in to change notification settings - Fork 70
Use new CStr constants #745
Copy link
Copy link
Open
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request
Hi,
If we bump MSRV to Rust 1.77 (Currently at 1.71 based on GH workflow), then I think we could use
c"<constant>"syntax to generate&CStrconstants, which would trim quite a bit of unsafe code, i.e:would become: