From 2d57e43e34b71f25d140c84abc62500e7bb61a26 Mon Sep 17 00:00:00 2001 From: Wilhelm Klopp Date: Fri, 7 Feb 2025 17:29:45 +0100 Subject: [PATCH] docs: Emphasize that Rust must be installed via rustup (#24447) Just tried installing a dev extension and kept getting "error: failed to install dev extension". Turns out this was because I had rust installed via homebrew and not rust. Once I switched to rustup, it worked perfectly fine. Release Notes: - N/A --- docs/src/extensions/developing-extensions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/extensions/developing-extensions.md b/docs/src/extensions/developing-extensions.md index 29906a7ae4..75d094c9b4 100644 --- a/docs/src/extensions/developing-extensions.md +++ b/docs/src/extensions/developing-extensions.md @@ -14,6 +14,8 @@ Extensions can add the following capabilities to Zed: Before starting to develop an extension for Zed, be sure to [install Rust via rustup](https://www.rust-lang.org/tools/install). +> Rust must be installed via rustup. If you have Rust installed via homebrew or otherwise, installing dev extensions will not work. + When developing an extension, you can use it in Zed without needing to publish it by installing it as a _dev extension_. From the extensions page, click the `Install Dev Extension` button and select the directory containing your extension.