Skip to content

Add MAX_LEN_UTF8 and MAX_LEN_UTF16 Constants#120580

Merged
bors merged 1 commit into
rust-lang:masterfrom
HTGAzureX1212:HTGAzureX1212/issue-45795
Feb 20, 2025
Merged

Add MAX_LEN_UTF8 and MAX_LEN_UTF16 Constants#120580
bors merged 1 commit into
rust-lang:masterfrom
HTGAzureX1212:HTGAzureX1212/issue-45795

Conversation

@HTGAzureX1212
Copy link
Copy Markdown
Contributor

This pull request adds the MAX_LEN_UTF8 and MAX_LEN_UTF16 constants as per #45795, gated behind the char_max_len feature.

The constants are currently applied in the alloc, core and std libraries.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-windows Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.