about summary refs log tree commit diff
path: root/library/std/src/sys/fd/unix.rs
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-03-26 00:38:28 -0700
committerThalia Archibald <thalia@archibald.dev>2025-04-05 12:05:43 -0700
commit0acac2cbe306b8db9bc0a7c45f529f1dfa6680c8 (patch)
tree2fee00d17ac19e0fb0cb673ca037e8c954153709 /library/std/src/sys/fd/unix.rs
parent0c478fdfe138a8b09744798c85fe2be657768b00 (diff)
downloadrust-0acac2cbe306b8db9bc0a7c45f529f1dfa6680c8.tar.gz
rust-0acac2cbe306b8db9bc0a7c45f529f1dfa6680c8.zip
std: Fix build for NuttX targets
Fix std build for all NuttX targets. It is the single largest set of
failures on <https://does-it-build.noratrieb.dev/>. Although, ESP-IDF
also requires these same gates, there are other issues for those
targets.

This can verified be running `x check library/std --target=` for all
NuttX targets.
Diffstat (limited to 'library/std/src/sys/fd/unix.rs')
-rw-r--r--library/std/src/sys/fd/unix.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/fd/unix.rs b/library/std/src/sys/fd/unix.rs
index 2042ea2c73d..13fefb4031d 100644
--- a/library/std/src/sys/fd/unix.rs
+++ b/library/std/src/sys/fd/unix.rs
@@ -71,9 +71,11 @@ const fn max_iov() -> usize {
     target_os = "android",
     target_os = "dragonfly",
     target_os = "emscripten",
+    target_os = "espidf",
     target_os = "freebsd",
     target_os = "linux",
     target_os = "netbsd",
+    target_os = "nuttx",
     target_os = "nto",
     target_os = "openbsd",
     target_os = "horizon",