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 add and cargo upgrade always segfaults #656

Closed
RadomirVujosevic opened this issue Mar 4, 2022 · 2 comments
Closed

Cargo add and cargo upgrade always segfaults #656

RadomirVujosevic opened this issue Mar 4, 2022 · 2 comments

Comments

@RadomirVujosevic
Copy link

Any time I try to add any dependency, i get the same error. To be clear, this happens with literally every dependency I try.

When using the bash shell
cargo add dioxus Updating 'https://github.com/rust-lang/crates.io-index' index Segmentation fault (core dumped)

When i use the fish shell, i get a similar result with a different message
cargo add dioxus Updating 'https://github.com/rust-lang/crates.io-index' index fish: Job 1, 'cargo add dioxus' terminated by signal SIGSEGV (Address boundary error)

This is on a fresh install of cargo-edit (with cargo install cargo-edit), rust vesion is 1.58.0
OS is garuda linux

@M3DZIK
Copy link

M3DZIK commented Mar 4, 2022

#641

compiling from master should help

cargo install cargo-edit --git https://github.com/killercup/cargo-edit --force

@RadomirVujosevic
Copy link
Author

Thanks for the response, this fixed it.
Sorry for the duplicate thread I guess

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