# HG changeset patch # User Pierre-Yves David # Date 1732080755 -3600 # Node ID bf86e0b561d36111b863a2e32dd9b652c25ea641 # Parent 13be751218e01e45a29037c6c263b36bcde4e261 rust: update install instruction As discussed last Friday after publishing the rc wheel, we need to update the rust readme and highlight that change in the release announcement if we want people using Rust to keep being able to use pip. diff -r 13be751218e0 -r bf86e0b561d3 mercurial/helptext/rust.txt --- a/mercurial/helptext/rust.txt Wed Nov 20 12:09:35 2024 +0100 +++ b/mercurial/helptext/rust.txt Wed Nov 20 06:32:35 2024 +0100 @@ -49,13 +49,19 @@ Users of `pip` can install the Rust extensions with the following command:: - $ pip install mercurial --global-option --rust --no-use-pep517 + $ pip install mercurial \ + --global-option \ + --rust \ + --no-use-pep517 \ + --no-binary mercurial `--no-use-pep517` is here to tell `pip` to preserve backwards compatibility with the legacy `setup.py` system. Mercurial has not yet migrated its complex setup to the new system, so we still need this to add compiled extensions. -This might take a couple of minutes because you're compiling everything. +`--no-binary` is there to tell pip to not use the pre-compiled wheels that are +missing rust support. This might take a couple of minutes because you're +compiling everything. See the "Checking for Rust" section to see if the install succeeded.