mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 06:00:33 +08:00
Fix unused macro warning when compiling tests without trace
feature.
This commit is contained in:
parent
ccf1f61127
commit
4b2a6d2207
@ -56,7 +56,7 @@ extern crate libsqlite3_sys as ffi;
|
||||
extern crate lru_cache;
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, feature = "trace"))]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
//! This file contains unit tests for rusqlite::trace::config_log. This function affects
|
||||
//! SQLite process-wide and so is not safe to run as a normal #[test] in the library.
|
||||
|
||||
#[cfg(feature = "trace")]
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
extern crate rusqlite;
|
||||
|
Loading…
Reference in New Issue
Block a user