Skip to content

Commit 2bc14af

Browse files
committed
Disable libunwind for NuttX
NuttX is a resource-constrained system, libunwind is too large for it in terms of both code size and memory usage. So we disable libunwind for NuttX. Signed-off-by: Huang Qi <[email protected]>
1 parent 4d7906b commit 2bc14af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backtrace/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ cfg_if::cfg_if! {
174174
any(
175175
all(
176176
unix,
177-
not(target_os = "emscripten"),
177+
not(any(target_os = "emscripten", target_os = "nuttx")),
178178
not(all(target_os = "ios", target_arch = "arm")),
179179
),
180180
all(

0 commit comments

Comments
 (0)