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 install a package cannot build dashmap library #268

Open
Riverboat8865 opened this issue Jun 4, 2023 · 1 comment
Open

Cargo install a package cannot build dashmap library #268

Riverboat8865 opened this issue Jun 4, 2023 · 1 comment

Comments

@Riverboat8865
Copy link

Riverboat8865 commented Jun 4, 2023

I am using cargo 1.70.0 to install a package that depends on dashmap. However, I got a comiplor error:

Compiling dashmap v5.4.0
error: Unrecognized option: 'diagnostic-width'

error: could not compile `dashmap` (lib)
warning: build failed, waiting for other jobs to finish...

Cargo cannont compile the lib. How can I fix this problem?

@tomkarw
Copy link
Contributor

tomkarw commented Feb 3, 2024

Could you provide your a minimal Cargo.toml and Cargo.lock that reproduce this behavior?

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