From 413c7e368a09fb0f6a6915a89a601939b8015ede Mon Sep 17 00:00:00 2001 From: "forestkeeperio.eth" <87507039+ForestKeeperIO@users.noreply.github.com> Date: Fri, 29 Mar 2024 12:32:12 -0500 Subject: [PATCH 1/2] Update troubleshoot-rust-issues.md Updated for readability and M1 is not the latest so M-series processors should be better --- .../md/en/docs/install/troubleshoot-rust-issues.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/md/en/docs/install/troubleshoot-rust-issues.md b/content/md/en/docs/install/troubleshoot-rust-issues.md index c7eef194a..16ab33a5f 100644 --- a/content/md/en/docs/install/troubleshoot-rust-issues.md +++ b/content/md/en/docs/install/troubleshoot-rust-issues.md @@ -114,11 +114,11 @@ WASM_BUILD_TOOLCHAIN=nightly- cargo build --release ``` This command builds the _runtime_ using the specified nightly toolchain. -The rest of project is compiled using the _default_ toolchain, that is, the latest version of the `stable` toolchain that you have installed. +The rest of the project is compiled using the _default_ toolchain, that is, the latest version of the `stable` toolchain that you have installed. ### Downgrade the nightly toolchain -If your computer is configured to use the latest Rust `nightly` toolchain and you want to downgrade to a specific nightly version,you must first uninstall the latest `nightly` toolchain. +If your computer is configured to use the latest Rust `nightly` toolchain and you want to downgrade to a specific nightly version, you must first uninstall the latest `nightly` toolchain. For example, you can remove the latest `nightly` toolchain, then use a specific version of the `nightly` toolchain by running commands similar to the following: ```sh @@ -129,17 +129,17 @@ rustup target add wasm32-unknown-unknown --toolchain nightly- ## Ensure PATH is set correctly -If after installing Rust the commands don't seem to work, showing errors such as `command not found: rustup`, make sure it your PATH is configured correctly. +If after installing Rust the commands don't seem to work, showing errors such as `command not found: rustup`, make sure that your PATH is configured correctly. -Currently, the `rustup` installer installs by default to the bash profile (on mac). If you are using another shell, make sure to add this line to your profile (e.g. `.zshrc`): +Currently, the `rustup` installer installs by default to the bash profile (on Mac). If you are using another shell, make sure to add this line to your profile (e.g. `.zshrc`): ```bash source "$HOME/.cargo/env" ``` -## Installing cmake or protobuf for M1 macOS users +## Installing cmake or protobuf for M-series macOS users -Currently, there are issues compiling the Substrate node when using the packages that are pre-installed on macOS computers with the M1 chip. +Currently, there are issues when compiling the Substrate node while using the packages that are pre-installed on macOS computers with the M-series chip. ```sh error: failed to run custom build command for prost-build v0.10.4 From b380f7b08786bc46b383a9f71fbca36677b0e2f8 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Wed, 28 Aug 2024 12:09:13 -0400 Subject: [PATCH 2/2] Update content/md/en/docs/install/troubleshoot-rust-issues.md --- content/md/en/docs/install/troubleshoot-rust-issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/md/en/docs/install/troubleshoot-rust-issues.md b/content/md/en/docs/install/troubleshoot-rust-issues.md index 16ab33a5f..764544cf8 100644 --- a/content/md/en/docs/install/troubleshoot-rust-issues.md +++ b/content/md/en/docs/install/troubleshoot-rust-issues.md @@ -137,7 +137,7 @@ Currently, the `rustup` installer installs by default to the bash profile (on Ma source "$HOME/.cargo/env" ``` -## Installing cmake or protobuf for M-series macOS users +## Installing cmake or protobuf for Apple Silicon (M-series) macOS users Currently, there are issues when compiling the Substrate node while using the packages that are pre-installed on macOS computers with the M-series chip.