]> git.proxmox.com Git - rustc.git/blobdiff - src/vendor/backtrace/tests/smoke.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / vendor / backtrace / tests / smoke.rs
index 1ec6f2b17c31f5ed5a8debe056fb60c552dc7046..1e4a5ce0ce6616071e1fe018cb32ce9c49632e71 100644 (file)
@@ -6,10 +6,11 @@ use std::thread;
 static LIBUNWIND: bool = cfg!(all(unix, feature = "libunwind"));
 static UNIX_BACKTRACE: bool = cfg!(all(unix, feature = "unix-backtrace"));
 static LIBBACKTRACE: bool = cfg!(all(unix, feature = "libbacktrace")) &&
-                            !cfg!(target_os = "macos") && !cfg!(target_os = "ios");
+                            !cfg!(target_os = "fuchsia") && !cfg!(target_os = "macos") &&
+                            !cfg!(target_os = "ios");
 static CORESYMBOLICATION: bool = cfg!(all(any(target_os = "macos", target_os = "ios"),
                                           feature = "coresymbolication"));
-static DLADDR: bool = cfg!(all(unix, feature = "dladdr"));
+static DLADDR: bool = cfg!(all(unix, feature = "dladdr")) && !cfg!(target_os = "fuchsia");
 static DBGHELP: bool = cfg!(all(windows, feature = "dbghelp"));
 static MSVC: bool = cfg!(target_env = "msvc");
 static GIMLI_SYMBOLIZE: bool = cfg!(all(feature = "gimli-symbolize",