Skip to content

Commit 29af390

Browse files
committed
Automatically enable std feature with gimli-symbolize
1 parent 3af3ec7 commit 29af390

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ std = []
7474
# splits DWARF out into a separate object file. Enabling this feature
7575
# means one less C dependency.
7676
libbacktrace = ["backtrace-sys/backtrace-sys"]
77-
gimli-symbolize = ["addr2line", "object"]
77+
gimli-symbolize = ["addr2line", "object", "std"]
7878

7979
#=======================================
8080
# Methods of serialization

src/symbolize/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ cfg_if::cfg_if! {
462462
use self::dbghelp::Symbol as SymbolImp;
463463
unsafe fn clear_symbol_cache_imp() {}
464464
} else if #[cfg(all(
465-
feature = "std",
466465
feature = "gimli-symbolize",
467466
any(
468467
target_os = "linux",

0 commit comments

Comments
 (0)