rust/library/std/src
Stuart Cook 06e059d45d
Rollup merge of #147213 - ivmarkov:fix-hostname-espidf, r=joboet
Fix broken STD build for ESP-IDF

PRs rust-lang/rust#147162 and rust-lang/rust#146937 did [broke](https://github.com/esp-rs/esp-idf-sys/actions/runs/18151791720/job/51663969786) the STD build for `target_os = "espidf"` because that target [does not have neither a `gethostname`, not a `libc::_SC_HOST_NAME_MAX` by default](https://github.com/espressif/esp-idf/issues/14849).

While there is a [3rd party component for this syscall](https://components.espressif.com/components/espressif/sock_utils/versions/0.2.2/readme) in the ESP-IDF component registry, I don't think we should use it, because it does not come with ESP-IDF by default.

Therefore, the one-liner fix just re-routes ESP-IDF into the `unsupported` branch.
2025-10-01 22:15:03 +10:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
ffi Update CURRENT_RUSTC_VERSION post-bump 2025-09-26 18:41:32 -04:00
fs feat(std): emulate flock for solaris via fcntl 2025-09-07 00:05:13 -04:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io Fix typo 2025-09-28 00:51:57 +02:00
net Rollup merge of #146937 - joboet:gethostname, r=Mark-Simulacrum 2025-09-29 21:42:41 +02:00
num unstably constify float mul_add methods 2025-09-24 15:21:31 -04:00
os Rollup merge of #140482 - devnexen:tcp_deferaccept_toduration, r=joboet 2025-09-28 18:13:10 +02:00
prelude Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
process Fix test suite in iOS/tvOS/watchOS/visionOS simulator 2025-09-19 13:55:03 +02:00
sync Mutex/RwLock/ReentrantLock::data_ptr to be const fn 2025-09-22 12:51:50 -07:00
sys Fix broken STD build for ESP-IDF 2025-10-01 08:12:44 +00:00
sys_common Move WTF-8 code from std to core/alloc 2025-08-20 20:31:33 -04:00
thread Add fast-path for accessing the current thread id 2025-09-30 20:51:03 +02:00
alloc.rs Make __rust_alloc_error_handler_should_panic a function 2025-07-03 10:52:21 -07:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs use generic Atomic type where possible 2025-04-27 02:18:08 +03:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs std: add support for armv7a-vex-v5 target 2025-09-24 12:10:15 -05:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
fs.rs Rollup merge of #144964 - 0xdeafbeef:fix-open-options, r=ibraheemdev 2025-08-30 18:49:48 -05:00
keyword_docs.rs fixup become kw documentation wrt #[track_caller] 2025-09-13 19:48:10 +02:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Rollup merge of #146788 - sysrex:146756/discord_invite, r=workingjubilee 2025-09-28 09:15:24 +02:00
macros.rs feat: implement hash_map! macro 2025-08-02 01:32:52 +02:00
panic.rs Update CURRENT_RUSTC_VERSION post-bump 2025-09-26 18:41:32 -04:00
panicking.rs Change the cfg to a dash 2025-09-21 13:12:20 -04:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Rollup merge of #142506 - clarfonthey:path-trailing-sep, r=joboet 2025-09-30 20:46:44 +02:00
process.rs std: merge definitions of StdioPipes 2025-09-21 19:45:46 +02:00
random.rs random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
rt.rs Change the cfg to a dash 2025-09-21 13:12:20 -04:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs Revert "Constify SystemTime methods" 2025-09-12 17:16:38 +02:00