Skip to content

Commit 50fe8ac

Browse files
authored
Include Ubuntu Rust setup commands (#964)
* Include Ubuntu Rust setup commands * Using tabs instead of headers to differentiate OS and ran scripts/generate_llms.py * Regenerate llms files
1 parent f1fb6f9 commit 50fe8ac

File tree

11 files changed

+166
-67
lines changed

11 files changed

+166
-67
lines changed

llms-files/llms-basics.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2960,13 +2960,22 @@ Before getting started, ensure you have done the following:
29602960

29612961
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
29622962

2963-
Run the following commands to set up the correct Rust version:
2963+
=== "macOS"
29642964

2965-
```bash
2966-
rustup default 1.86
2967-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
2968-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
2969-
```
2965+
```bash
2966+
rustup default 1.86
2967+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
2968+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
2969+
```
2970+
2971+
=== "Ubuntu"
2972+
2973+
```bash
2974+
rustup toolchain install 1.86.0
2975+
rustup default 1.86.0
2976+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
2977+
rustup component add rust-src --toolchain 1.86.0
2978+
```
29702979

29712980
## Utility Tools
29722981

llms-files/llms-dapps.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6184,13 +6184,22 @@ Before getting started, ensure you have done the following:
61846184

61856185
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
61866186

6187-
Run the following commands to set up the correct Rust version:
6187+
=== "macOS"
61886188

6189-
```bash
6190-
rustup default 1.86
6191-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
6192-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
6193-
```
6189+
```bash
6190+
rustup default 1.86
6191+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
6192+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
6193+
```
6194+
6195+
=== "Ubuntu"
6196+
6197+
```bash
6198+
rustup toolchain install 1.86.0
6199+
rustup default 1.86.0
6200+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
6201+
rustup component add rust-src --toolchain 1.86.0
6202+
```
61946203

61956204
## Utility Tools
61966205

llms-files/llms-infrastructure.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5482,13 +5482,22 @@ Before getting started, ensure you have done the following:
54825482

54835483
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
54845484

5485-
Run the following commands to set up the correct Rust version:
5485+
=== "macOS"
54865486

5487-
```bash
5488-
rustup default 1.86
5489-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
5490-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
5491-
```
5487+
```bash
5488+
rustup default 1.86
5489+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
5490+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
5491+
```
5492+
5493+
=== "Ubuntu"
5494+
5495+
```bash
5496+
rustup toolchain install 1.86.0
5497+
rustup default 1.86.0
5498+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
5499+
rustup component add rust-src --toolchain 1.86.0
5500+
```
54925501

54935502
## Utility Tools
54945503

llms-files/llms-networks.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3412,13 +3412,22 @@ Before getting started, ensure you have done the following:
34123412

34133413
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
34143414

3415-
Run the following commands to set up the correct Rust version:
3415+
=== "macOS"
34163416

3417-
```bash
3418-
rustup default 1.86
3419-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
3420-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
3421-
```
3417+
```bash
3418+
rustup default 1.86
3419+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
3420+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
3421+
```
3422+
3423+
=== "Ubuntu"
3424+
3425+
```bash
3426+
rustup toolchain install 1.86.0
3427+
rustup default 1.86.0
3428+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
3429+
rustup component add rust-src --toolchain 1.86.0
3430+
```
34223431

34233432
## Utility Tools
34243433

llms-files/llms-parachains.txt

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9086,13 +9086,22 @@ Before getting started, ensure you have done the following:
90869086

90879087
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
90889088

9089-
Run the following commands to set up the correct Rust version:
9089+
=== "macOS"
90909090

9091-
```bash
9092-
rustup default 1.86
9093-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
9094-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
9095-
```
9091+
```bash
9092+
rustup default 1.86
9093+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
9094+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
9095+
```
9096+
9097+
=== "Ubuntu"
9098+
9099+
```bash
9100+
rustup toolchain install 1.86.0
9101+
rustup default 1.86.0
9102+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
9103+
rustup component add rust-src --toolchain 1.86.0
9104+
```
90969105

90979106
## Utility Tools
90989107

@@ -12603,13 +12612,22 @@ Before getting started, ensure you have done the following:
1260312612

1260412613
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
1260512614

12606-
Run the following commands to set up the correct Rust version:
12615+
=== "macOS"
1260712616

12608-
```bash
12609-
rustup default 1.86
12610-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
12611-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
12612-
```
12617+
```bash
12618+
rustup default 1.86
12619+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
12620+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
12621+
```
12622+
12623+
=== "Ubuntu"
12624+
12625+
```bash
12626+
rustup toolchain install 1.86.0
12627+
rustup default 1.86.0
12628+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
12629+
rustup component add rust-src --toolchain 1.86.0
12630+
```
1261312631

1261412632
## Utility Tools
1261512633

llms-files/llms-polkadot-protocol.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9640,13 +9640,22 @@ Before getting started, ensure you have done the following:
96409640

96419641
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
96429642

9643-
Run the following commands to set up the correct Rust version:
9643+
=== "macOS"
96449644

9645-
```bash
9646-
rustup default 1.86
9647-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
9648-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
9649-
```
9645+
```bash
9646+
rustup default 1.86
9647+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
9648+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
9649+
```
9650+
9651+
=== "Ubuntu"
9652+
9653+
```bash
9654+
rustup toolchain install 1.86.0
9655+
rustup default 1.86.0
9656+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
9657+
rustup component add rust-src --toolchain 1.86.0
9658+
```
96509659

96519660
## Utility Tools
96529661

llms-files/llms-smart-contracts.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7883,13 +7883,22 @@ Before getting started, ensure you have done the following:
78837883

78847884
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
78857885

7886-
Run the following commands to set up the correct Rust version:
7886+
=== "macOS"
78877887

7888-
```bash
7889-
rustup default 1.86
7890-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
7891-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
7892-
```
7888+
```bash
7889+
rustup default 1.86
7890+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
7891+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
7892+
```
7893+
7894+
=== "Ubuntu"
7895+
7896+
```bash
7897+
rustup toolchain install 1.86.0
7898+
rustup default 1.86.0
7899+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
7900+
rustup component add rust-src --toolchain 1.86.0
7901+
```
78937902

78947903
## Utility Tools
78957904

llms-files/llms-tooling.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18094,13 +18094,22 @@ Before getting started, ensure you have done the following:
1809418094

1809518095
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
1809618096

18097-
Run the following commands to set up the correct Rust version:
18097+
=== "macOS"
1809818098

18099-
```bash
18100-
rustup default 1.86
18101-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
18102-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
18103-
```
18099+
```bash
18100+
rustup default 1.86
18101+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
18102+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
18103+
```
18104+
18105+
=== "Ubuntu"
18106+
18107+
```bash
18108+
rustup toolchain install 1.86.0
18109+
rustup default 1.86.0
18110+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
18111+
rustup component add rust-src --toolchain 1.86.0
18112+
```
1810418113

1810518114
## Utility Tools
1810618115

llms-full.txt

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39198,13 +39198,22 @@ Before getting started, ensure you have done the following:
3919839198

3919939199
For this tutorial series, you need to use Rust `1.86`. Newer versions of the compiler may not work with this parachain template version.
3920039200

39201-
Run the following commands to set up the correct Rust version:
39201+
=== "macOS"
3920239202

39203-
```bash
39204-
rustup default 1.86
39205-
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
39206-
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
39207-
```
39203+
```bash
39204+
rustup default 1.86
39205+
rustup target add wasm32-unknown-unknown --toolchain 1.86-aarch64-apple-darwin
39206+
rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
39207+
```
39208+
39209+
=== "Ubuntu"
39210+
39211+
```bash
39212+
rustup toolchain install 1.86.0
39213+
rustup default 1.86.0
39214+
rustup target add wasm32-unknown-unknown --toolchain 1.86.0
39215+
rustup component add rust-src --toolchain 1.86.0
39216+
```
3920839217

3920939218
## Utility Tools
3921039219

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
- [Storage](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/integrations/storage.md): Explore decentralized storage solutions for your Polkadot dApp. Discover key integrations, such as Crust and IPFS, for robust, censorship-resistant data storage.
8989
- [Transaction Construction](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/integrations/transaction-construction.md): Understand how to construct, sign, and broadcast transactions in the Polkadot ecosystem using various tools and libraries.
9090
- [Wallets](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/integrations/wallets.md): Explore blockchain wallets. Securely manage digital assets with hot wallets for online access or cold wallets for offline, enhanced security.
91-
- [Interoperability](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/interoperability/index.md): Explore Polkadot's XCM tooling ecosystem, featuring the Asset Transfer API and other utilities for implementing cross-chain messaging and transfers.
91+
- [Interoperability](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/interoperability/index.md): Explore Polkadot's XCM tooling ecosystem, featuring utilities for implementing cross-chain messaging and transfers.
9292
- [ParaSpell XCM SDK](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/interoperability/paraspell-xcm-sdk/index.md): A powerful open-source library that simplifies XCM integration, enabling developers to easily build interoperable dApps on Polkadot.
9393
- [XCM Tools](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/interoperability/xcm-tools.md): Explore essential XCM tools across Polkadot, crafted to enhance cross-chain functionality and integration within the ecosystem.
9494
- [E2E Testing on Polkadot SDK Chains](https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/refs/heads/master/develop/toolkit/parachains/e2e-testing/index.md): Discover a suite of tools for E2E testing on Polkadot SDK-based blockchains, including configuration management, automation, and debugging utilities.

0 commit comments

Comments
 (0)