Skip to content

Commit 4d54152

Browse files
authored
Docs: Update developing zed docs to match (#21379)
Some changes just so the build docs for the different os matches each other :) macos: - moved `rust wasm toolchain install` up under `rust install` (match windows docs) - add instructions to update rust if already installed (match windows and linux docs) windows: - add `(required by a dependency)` to cmake install (match macos docs) Release Notes: - N/A
1 parent bf569d7 commit 4d54152

File tree

3 files changed

+5
-24
lines changed

3 files changed

+5
-24
lines changed

docs/src/development/linux.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
66

77
## Dependencies
88

9-
- Install [Rust](https://www.rust-lang.org/tools/install). If it's already installed, make sure it's up-to-date:
10-
11-
```sh
12-
rustup update
13-
```
9+
- Install [rustup](https://www.rust-lang.org/tools/install)
1410

1511
- Install the necessary system libraries:
1612

docs/src/development/macos.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
66

77
## Dependencies
88

9-
- Install [Rust](https://www.rust-lang.org/tools/install)
9+
- Install [rustup](https://www.rust-lang.org/tools/install)
10+
1011
- Install [Xcode](https://apps.apple.com/us/app/xcode/id497799835?mt=12) from the macOS App Store, or from the [Apple Developer](https://developer.apple.com/download/all/) website. Note this requires a developer account.
1112

1213
> Ensure you launch Xcode after installing, and install the macOS components, which is the default option.
@@ -24,12 +25,6 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
2425
sudo xcodebuild -license accept
2526
```
2627

27-
- Install the Rust wasm toolchain:
28-
29-
```sh
30-
rustup target add wasm32-wasip1
31-
```
32-
3328
- Install `cmake` (required by [a dependency](https://docs.rs/wasmtime-c-api-impl/latest/wasmtime_c_api/))
3429

3530
```sh

docs/src/development/windows.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,11 @@ Clone down the [Zed repository](https://github.com/zed-industries/zed).
88

99
## Dependencies
1010

11-
- Install [Rust](https://www.rust-lang.org/tools/install). If it's already installed, make sure it's up-to-date:
12-
13-
```sh
14-
rustup update
15-
```
16-
17-
- Install the Rust wasm toolchain:
18-
19-
```sh
20-
rustup target add wasm32-wasip1
21-
```
11+
- Install [rustup](https://www.rust-lang.org/tools/install)
2212

2313
- Install [Visual Studio](https://visualstudio.microsoft.com/downloads/) with the optional components `MSVC v*** - VS YYYY C++ x64/x86 build tools` and `MSVC v*** - VS YYYY C++ x64/x86 Spectre-mitigated libs (latest)` (`v***` is your VS version and `YYYY` is year when your VS was released. Pay attention to the architecture and change it to yours if needed.)
2414
- Install Windows 11 or 10 SDK depending on your system, but ensure that at least `Windows 10 SDK version 2104 (10.0.20348.0)` is installed on your machine. You can download it from the [Windows SDK Archive](https://developer.microsoft.com/windows/downloads/windows-sdk/)
25-
- Install [CMake](https://cmake.org/download)
15+
- Install [CMake](https://cmake.org/download) (required by [a dependency](https://docs.rs/wasmtime-c-api-impl/latest/wasmtime_c_api/))
2616

2717
## Backend dependencies
2818

0 commit comments

Comments
 (0)