-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Cargo/rustc behavior has changed from 1.14 to 1.15 when building libraries within workspaces.
E.g. here's the output for 1.14:
$ cargo build --release
Compiling safe_app v0.1.0
...
$ ls ../target/release/deps/
libsafe_app.so
libsafe_app.rlib
libsafe_app.a
And there's also libsafe_app.so
in ../target/release
.
Now, after I switch my toolchain to 1.15 in rustup, a hash is appended to output file names:
$ cargo build --release
Compiling safe_app v0.1.0
...
$ ls ../target/release/deps/
libsafe_app-98e60e5e55f57beb.so
libsafe_app-98e60e5e55f57beb.a
libsafe_app-98e60e5e55f57beb.rlib
And, more importantly, there's nothing in the ../target/release/
directory.
At the same time it still works correctly for non-workspaced projects and I can find the library file copied to the target/release/
dir.
This breaks continuous integration scripts on 1.15 for projects that use workspaces.
Metadata
Metadata
Assignees
Labels
No labels