Skip to content

Commit fcd2837

Browse files
authored
Merge pull request #1479 from emilio/libclang-path-log
Log the libclang path.
2 parents 7c24f6b + 69a5b4a commit fcd2837

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ cexpr = "0.3.3"
4848
cfg-if = "0.1.0"
4949
# This kinda sucks: https://github.com/rust-lang/cargo/issues/1982
5050
clap = "2"
51-
clang-sys = { version = "0.26", features = ["runtime", "clang_6_0"] }
51+
clang-sys = { version = "0.26.4", features = ["runtime", "clang_6_0"] }
5252
lazy_static = "1"
5353
peeking_take_while = "0.1.2"
5454
quote = { version = "0.6", default-features = false }

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,8 @@ impl Bindings {
16731673
) -> Result<Bindings, ()> {
16741674
ensure_libclang_is_loaded();
16751675

1676+
debug!("Generating bindings, libclang at {}", clang_sys::get_library().unwrap().path().display());
1677+
16761678
options.build();
16771679

16781680
// Filter out include paths and similar stuff, so we don't incorrectly

0 commit comments

Comments
 (0)