mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
Merge pull request #253 from jgallagher/fix-unused-macro-warning
Fix unused macro warning when compiling tests without `trace` feature.
This commit is contained in:
commit
76363cca7e
@ -56,7 +56,7 @@ extern crate libsqlite3_sys as ffi;
|
|||||||
extern crate lru_cache;
|
extern crate lru_cache;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate bitflags;
|
extern crate bitflags;
|
||||||
#[cfg(test)]
|
#[cfg(all(test, feature = "trace"))]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//! This file contains unit tests for rusqlite::trace::config_log. This function affects
|
//! 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.
|
//! SQLite process-wide and so is not safe to run as a normal #[test] in the library.
|
||||||
|
|
||||||
|
#[cfg(feature = "trace")]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
extern crate rusqlite;
|
extern crate rusqlite;
|
||||||
|
Loading…
Reference in New Issue
Block a user