changeset 52277:bf86e0b561d3 stable

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.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 20 Nov 2024 06:32:35 +0100
parents 13be751218e0
children c8e9b37ef3c0
files mercurial/helptext/rust.txt
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.