woboq / qmetaobject-rs

Integrate Qml and Rust by building the QMetaObject at compile time.
MIT License
647 stars 89 forks source link

Build warning about `cargo:rustc-cdylib-link-arg` #277

Open hasezoey opened 1 year ago

hasezoey commented 1 year ago

Just tried to run examples from this project, but noticed some warnings (most already documented at #111):

warning: cargo:rustc-cdylib-link-arg was specified in the build script of qttypes v0.2.8 (/mnt/projects/rust/qmetaobject-rs/qttypes), but that package does not contain a cdylib target

Allowing this was an unintended change in the 1.50 release, and may become an error in the future. For more information, see <https://github.com/rust-lang/cargo/issues/9562>.