From 459eaa6baea4127b37769d0b7944fa00c175e770 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Thu, 29 Jul 2021 20:18:22 +0300 Subject: STD support for the ESP-IDF framework --- library/panic_unwind/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library/panic_unwind/src') diff --git a/library/panic_unwind/src/lib.rs b/library/panic_unwind/src/lib.rs index 14b454da4f4..ac7d8c18e3e 100644 --- a/library/panic_unwind/src/lib.rs +++ b/library/panic_unwind/src/lib.rs @@ -45,7 +45,7 @@ cfg_if::cfg_if! { } else if #[cfg(any( all(target_family = "windows", target_env = "gnu"), target_os = "psp", - target_family = "unix", + all(target_family = "unix", not(target_os = "espidf")), all(target_vendor = "fortanix", target_env = "sgx"), ))] { // Rust runtime's startup objects depend on these symbols, so make them public. @@ -58,6 +58,7 @@ cfg_if::cfg_if! { // - arch=wasm32 // - os=none ("bare metal" targets) // - os=uefi + // - os=espidf // - nvptx64-nvidia-cuda // - arch=avr #[path = "dummy.rs"] -- cgit 1.4.1-3-g733a5