Skip to content

Commit 66a533d

Browse files
committed
use statics for windows
1 parent f09914f commit 66a533d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/smoke.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ extern crate libc;
55

66
use std::str;
77

8-
const LIBUNWIND: bool = cfg!(all(unix, feature = "libunwind"));
9-
const UNIX_BACKTRACE: bool = cfg!(all(unix, feature = "unix-backtrace"));
10-
const LIBBACKTRACE: bool = cfg!(feature = "libbacktrace");
11-
const DLADDR: bool = cfg!(all(unix, feature = "dladdr"));
8+
static LIBUNWIND: bool = cfg!(all(unix, feature = "libunwind"));
9+
static UNIX_BACKTRACE: bool = cfg!(all(unix, feature = "unix-backtrace"));
10+
static LIBBACKTRACE: bool = cfg!(feature = "libbacktrace");
11+
static DLADDR: bool = cfg!(all(unix, feature = "dladdr"));
1212

1313
#[test]
1414
fn smoke() {

0 commit comments

Comments
 (0)