Skip to content

Commit 26f3dcb

Browse files
committed
Fix some warnings
1 parent d41e2c6 commit 26f3dcb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ members = [
1111
'examples/qenum',
1212
'examples/nested_qobjects',
1313
]
14+
15+
resolver = "2"

qttypes/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,10 @@ fn main() {
211211
""
212212
};
213213

214+
/* https://github.com/rust-lang/cargo/issues/9562
214215
if std::env::var("CARGO_CFG_TARGET_FAMILY").as_ref().map(|s| s.as_ref()) == Ok("unix") {
215216
println!("cargo:rustc-cdylib-link-arg=-Wl,-rpath,{}", &qt_library_path);
216-
}
217+
} */
217218

218219
println!("cargo:rustc-link-search{}={}", macos_lib_search, &qt_library_path);
219220

0 commit comments

Comments
 (0)