Closed
Description
When I update rust nightly and i try to cargo build again I got these errors
src/xmpp/lib.rs:15:1: 15:18 error: found possibly newer version of crate `std` which `xml` depends on
src/xmpp/lib.rs:15 extern crate xml;
^~~~~~~~~~~~~~~~~
src/xmpp/lib.rs:15:1: 15:18 note: perhaps this crate needs to be recompiled?
src/xmpp/lib.rs:15 extern crate xml;
^~~~~~~~~~~~~~~~~
src/xmpp/lib.rs:15:18: 15:18 note: crate `std` path #1: /usr/lib/rust/rust-nightly/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4e7c5e5c.rlib
src/xmpp/lib.rs:15:18: 15:18 note: crate `std` path #2: /usr/lib/rust/rust-nightly/lib/rustlib/i686-unknown-linux-gnu/lib/libstd-4e7c5e5c.so
src/xmpp/lib.rs:15:18: 15:18 note: crate `xml` path #1: /home/allan/perso/rust-xmpp-server-stream/target/deps/libxml4e3e5018578ccea9.rlib
error: aborting due to previous error
Could not execute process `rustc src/xmpp/lib.rs --crate-name xmpp --crate-type lib -g -C metadata=rust-xmpp-server-stream:-:0.0.0:-:file:/home/allan/perso/rust-xmpp-server-stream -C extra-filename=59396aea2dc02d0a --out-dir /home/allan/perso/rust-xmpp-server-stream/target -L /home/allan/perso/rust-xmpp-server-stream/target -L /home/allan/perso/rust-xmpp-server-stream/target/deps` (status=101)
however the crate xml
is provided as dependency, it would be great if cargo could detect that and rebuild dependencies on version change of rust (as otherwise we need to guess that we have to delete target
directory, though I admit it's not a difficult guess )
Metadata
Metadata
Assignees
Labels
No labels