]> git.proxmox.com Git - cargo.git/commit
Warn when trying to link to a library that is not linkable.
authorLukas Lueg <lukas.lueg@gmail.com>
Sat, 9 Dec 2017 14:24:08 +0000 (15:24 +0100)
committerLukas Lueg <lukas.lueg@gmail.com>
Sun, 10 Dec 2017 19:36:24 +0000 (20:36 +0100)
commit554f333948327ab2d92904a960277626c87e6ba4
tree02568b290877e83798880f8a3b15bec1099c576c
parent3992e5259ba99385016e27a7971121e916d01d5a
Warn when trying to link to a library that is not linkable.

If a dependency is a library that provides no linkable targets, we warn
about the impending error in rustc about an unresolvable `extern crate`.

Fixes #3169.
src/cargo/ops/cargo_rustc/mod.rs
tests/build.rs