cargo:rustc-link-search
becomes invalid when you move a Cargo project
#4053
Labels
A-build-scripts
Area: build.rs scripts
A-linkage
Area: linker issues, dylib, cdylib, shared libraries, so
C-bug
Category: bug
STR
Note the linker invocation; the
foo
search path is the same as before. By moving thehello
crate the search path generated by thefoo
dependency becomes invalidated.Meta
Possible solution: Re-run all build scripts when the Cargo project is moved.
cc @alexcrichton @dpc
Originally reported in rust-embedded/cortex-m#31
The text was updated successfully, but these errors were encountered: