Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo build cross error E0464 using nightly build on macOS. #14610

Open
Wyvern opened this issue Sep 29, 2024 · 1 comment
Open

Cargo build cross error E0464 using nightly build on macOS. #14610

Wyvern opened this issue Sep 29, 2024 · 1 comment

Comments

@Wyvern
Copy link

Wyvern commented Sep 29, 2024

Building cross-rs https://github.com/cross-rs/cross using latest nightly rust cargo 1.83.0-nightly (80d82ca22 2024-09-27) got error like below:

error[E0464]: multiple candidates for `dylib` dependency `proc_macro_error_attr` found
   --> index.crates.io-6f17d22bba15001f/proc-macro-error-1.0.4/src/lib.rs:284:9
    |
284 | pub use proc_macro_error_attr::proc_macro_error;
    |         ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: candidate #1: /private/var/folders/kz/y16z4dms7xn5gkphbxltbdc40000gn/T/cargo-installHMrg7n/release/deps/libproc_macro_error_attr-b33a0a920db22da1.dylib
    = note: candidate #2: /private/var/folders/kz/y16z4dms7xn5gkphbxltbdc40000gn/T/cargo-installHMrg7n/release/deps/libproc_macro_error_attr-3cbf98ceb064ca9b.dylib

For more information about this error, try `rustc --explain E0464`.
@ehuss
Copy link
Contributor

ehuss commented Sep 29, 2024

Sorry, I'm not able to reproduce. Can you show exactly what you did? What is the output of cargo --version --verbose? Does it still reproduce on the latest nightly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants