about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-09-19 18:30:18 -0600
committerThalia Archibald <thalia@archibald.dev>2025-09-19 19:18:10 -0600
commit776c199c7bb7a26f2578087c28ee7be4d8941097 (patch)
treec70201eaac0b691f335301ad0f7bf3951cde5ed1 /library/core/src
parent6a5838105d8496b9db5dc61b0bd12dda70f7bbe1 (diff)
downloadrust-776c199c7bb7a26f2578087c28ee7be4d8941097.tar.gz
rust-776c199c7bb7a26f2578087c28ee7be4d8941097.zip
Fix std build for xtensa
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/ffi/va_list.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/ffi/va_list.rs b/library/core/src/ffi/va_list.rs
index 643bd95df84..0d4ccb5aeb2 100644
--- a/library/core/src/ffi/va_list.rs
+++ b/library/core/src/ffi/va_list.rs
@@ -2,6 +2,7 @@
 //!
 //! Better known as "varargs".
 
+#[cfg(not(target_arch = "xtensa"))]
 use crate::ffi::c_void;
 #[allow(unused_imports)]
 use crate::fmt;