-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 Build Failing #17
Comments
I ran cargo test for bindgen and many of tests pass there:
|
I think the reason the That being said, I'm not sure why this error is being thrown. Running |
Hi Kyle, I tried the runtime feature is this what I get. Seems to still work. I will try clang 7 for clang-rs. C:\Users\dev\Projects\clang-sys>cargo test --features runtime
Compiling winapi v0.3.7
Compiling cc v1.0.35
Compiling clang-sys v0.28.0 (C:\Users\dev\Projects\clang-sys)
warning: use of deprecated item 'core::str::<impl str>::trim_right': superseded by `trim_end`
--> build\static.rs:99:99
|
99 | println!("cargo:rustc-link-search=native={}", common::run_llvm_config(&["--libdir"]).unwrap().trim_right());
| ^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
Compiling libloading v0.5.0
Finished dev [unoptimized + debuginfo] target(s) in 15.02s
Running target\debug\deps\clang_sys-bd49863444058b70.exe
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Running target\debug\deps\lib-3a5ce72bf061f5e0.exe
running 2 tests
test test_support ... ok
test test ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
Doc-tests clang-sys
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out |
I installed Clang 7. I still get the same error:
|
Hello,
Thanks for this project. I am trying to use it on windows, but none the test pass because I get the following error:
I updated Cargo.toml for clang-sys to use the master branch since those tests pass.
What is extra strange is that clang-sys on its own passes both the tests:
Here is my clang version:
I am using Microsoft Windows 10 Pro.
The text was updated successfully, but these errors were encountered: