summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAiden Fox Ivey <aiden@aidenfoxivey.com>2025-10-16 13:35:33 -0400
committerGitHub <noreply@github.com>2025-10-16 13:35:33 -0400
commit190a3cd4759e62166004639bbe3b1f6a134b1f3b (patch)
tree5f4a1dd768d64dcf1386ce1f9d5fc23aebf4c021 /doc
parentf925f1ae7b18c6314fe59d19cd56107de91c3b26 (diff)
ZJIT: [DOC] Recommend cargo-binstall for ZJIT tool installation (GH-14859)
Diffstat (limited to 'doc')
-rw-r--r--doc/zjit.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/zjit.md b/doc/zjit.md
index d0d3e36191..f3db94448d 100644
--- a/doc/zjit.md
+++ b/doc/zjit.md
@@ -32,11 +32,17 @@ Note that tests link against CRuby, so directly calling `cargo test`, or `cargo
First, ensure you have `cargo` installed. If you do not already have it, you can use [rustup.rs](https://rustup.rs/).
+Also install cargo-binstall with:
+
+```bash
+cargo install cargo-binstall
+```
+
Make sure to add `--enable-zjit=dev` when you run `configure`, then install the following tools:
```bash
-cargo install cargo-nextest
-cargo install cargo-insta
+cargo binstall --secure cargo-nextest
+cargo binstall --secure cargo-insta
```
`cargo-insta` is used for updating snapshots. `cargo-nextest` runs each test in its own process, which is valuable since CRuby only supports booting once per process, and most APIs are not thread safe.