Skip to content

Commit 71f6b37

Browse files
committed
Try to fix an extern crate warning
1 parent d3cc7ea commit 71f6b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
extern crate std;
5959

6060
// This is only used for gimli right now, so silence warnings elsewhere.
61-
#[cfg_attr(not(target_os = "linux"), allow(unused_extern_crates))]
61+
#[cfg_attr(not(feature = "gimli-symbolize"), allow(unused_extern_crates))]
6262
extern crate alloc;
6363

6464
pub use self::backtrace::{trace_unsynchronized, Frame};

0 commit comments

Comments
 (0)