rust/library/std/src/sys
Matthias Krüger 84e9f29007
Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se
Add `MAX_LEN_UTF8` and `MAX_LEN_UTF16` Constants

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.
2025-02-19 21:16:01 +01:00
..
alloc std: Apply unsafe_attr_outside_unsafe 2025-02-13 13:10:27 -08:00
anonymous_pipe Move std::pipe::* into std::io 2025-01-17 01:30:05 +11:00
io std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
net Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton 2025-02-17 06:37:37 +01:00
os_str Make CloneToUninit dyn-compatible 2024-11-12 15:08:41 -06:00
pal Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se 2025-02-19 21:16:01 +01:00
path uefi: Implement path 2025-01-16 10:19:22 +05:30
personality Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
random Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
sync Mark extern blocks as unsafe 2025-02-09 17:11:13 +00:00
thread_local std: Apply unsafe_attr_outside_unsafe 2025-02-13 13:10:27 -08:00
backtrace.rs Improve comments for the default backtrace printer 2024-12-04 20:54:37 -05:00
cmath.rs Implement f{16,32,64,128}::{erf,erfc} 2025-02-14 01:23:16 +03:00
exit_guard.rs Attempt to fix CI 2024-07-08 09:19:25 -05:00
mod.rs std: move io module out of pal 2025-02-07 16:54:07 +01:00