Skip to content

Commit ea8dffd

Browse files
committed
Move backtrace-sys to #![no_std]
1 parent 8097c18 commit ea8dffd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backtrace-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Bindings to the libbacktrace gcc library
1212
"""
1313

1414
[dependencies]
15-
libc = "0.2"
15+
libc = { version = "0.2", default-features = false }
1616

1717
[build-dependencies]
1818
cc = "1.0"

backtrace-sys/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(bad_style)]
2+
#![no_std]
23

34
extern crate libc;
45

0 commit comments

Comments
 (0)