Closed
Description
Steps to reproduce:
cargo new a
cd a
echo 'serde = {version = "1.0", features = ["serde_derive"]}' >> Cargo.toml
cargo build
Alternative steps to reproduce that will provides a suitable compiler:
# This branch is temporary,
# it will disappear once this issue is resolved and later be re-purposed
git clone https://github.com/servo/servo/ --branch rustup
cd servo
./mach cargo build -p serde
On OS X, with LLVM assertions disabled (like in rustc builds added in #39754, which are the default in Servo’s mach
), rustc 1.20.0-nightly (69c65d2 2017-06-28) fails with:
error: dlopen(/private/tmp/a/target/debug/deps/libserde_derive-73114808ba8f6d5d.dylib, 1): Library not loaded: @rpath/libstd-82587804d4836e27.dylib
Referenced from: /private/tmp/a/target/debug/deps/libserde_derive-73114808ba8f6d5d.dylib
Reason: image not found
--> /Users/simon/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.8/src/lib.rs:261:1
|
261 | extern crate serde_derive;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
error: Could not compile `serde`.
This problem does not occur with nightly-2017-06-29
from rustup, which has LLVM assertions enabled. (But perhaps that’s not the only difference between the two kinds of builds?)
Metadata
Metadata
Assignees
Labels
No labels