about summary refs log tree commit diff
path: root/library/std/src/sys/unix/alloc.rs
diff options
context:
space:
mode:
authorivmarkov <ivan.markov@gmail.com>2021-07-29 20:18:22 +0300
committerivmarkov <imarkov@vmware.com>2021-08-10 12:09:00 +0300
commit459eaa6baea4127b37769d0b7944fa00c175e770 (patch)
tree100c65b39f217096a01f3c0f256a672bfeaacd42 /library/std/src/sys/unix/alloc.rs
parentae90dcf0207c57c3034f00b07048d63f8b2363c8 (diff)
downloadrust-459eaa6baea4127b37769d0b7944fa00c175e770.tar.gz
rust-459eaa6baea4127b37769d0b7944fa00c175e770.zip
STD support for the ESP-IDF framework
Diffstat (limited to 'library/std/src/sys/unix/alloc.rs')
-rw-r--r--library/std/src/sys/unix/alloc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/alloc.rs b/library/std/src/sys/unix/alloc.rs
index 1b71905aa09..7c3d9573940 100644
--- a/library/std/src/sys/unix/alloc.rs
+++ b/library/std/src/sys/unix/alloc.rs
@@ -57,7 +57,8 @@ cfg_if::cfg_if! {
         target_os = "android",
         target_os = "illumos",
         target_os = "redox",
-        target_os = "solaris"
+        target_os = "solaris",
+        target_os = "espidf"
     ))] {
         #[inline]
         unsafe fn aligned_malloc(layout: &Layout) -> *mut u8 {