Skip to content

Cannot build ripgrep on Ubuntu: failed to parse manifest #3055

Answered by BurntSushi
pmor13 asked this question in Q&A
Discussion options

You must be logged in to vote

The minimum Rust version required is documented in the second sentence of the build instructions.

Why doesn't ripgrep's "build process" check versions?

Cargo is supposed to do this because of the rust-version attribute, but the debug value of none used by ripgrep requires Rust 1.71. And apparently Cargo chokes on that before it has a chance to give you a better error message.

ripgrep generally tracks the stable version of Rust, so the MSRV of Rust 1.72 is already quite old by that standard. It's usually even newer than that. The philosophy here is that if you choose a Linux distro that specifically prioritizes stagnation by packaging older versions of software (in this case, multiple ye…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@BurntSushi
Comment options

Answer selected by BurntSushi
@pmor13
Comment options

@BurntSushi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants