Change config_log to take a Rust fn instead of an extern "C" fn.

Moves the unit test for config_log out of #[ignore] and into its own
test file since it affects the entire process.
This commit is contained in:
John Gallagher
2015-11-30 15:29:50 -05:00
parent eaf080261b
commit dbfa6ca31f
3 changed files with 76 additions and 30 deletions

View File

@@ -23,7 +23,12 @@ libc = "~0.1"
[dev-dependencies]
tempdir = "~0.3.4"
lazy_static = "~0.1"
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
version = "0.2.0"
[[test]]
name = "config_log"
harness = false