Skip to content

Commit 2caeaec

Browse files
darioushclaude
andcommitted
doc(docs): remove outdated cargo build notes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8ed970d commit 2caeaec

3 files changed

Lines changed: 0 additions & 40 deletions

File tree

docs/archival/run-archival-node.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ takes approximately 25 minutes). Note that compilation will need over
8484
with processes being killed, you might want to try reducing number of
8585
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.
8686

87-
By the way, if you’re familiar with Cargo, you could wonder why not
88-
run `cargo build -p neard --release` instead. While this will produce
89-
a binary, the result will be a less optimized version. On technical
90-
level, this is because building via `make neard` enables link-time
91-
optimisation which is disabled by default.
92-
9387
The binary path is `target/release/neard`
9488

9589
### 3. Initialize working directory {#3-initialize-working-directory}
@@ -178,12 +172,6 @@ takes approximately 25 minutes). Note that compilation will need over
178172
with processes being killed, you might want to try reducing number of
179173
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.
180174

181-
By the way, if you’re familiar with Cargo, you could wonder why not
182-
run `cargo build -p neard --release` instead. While this will produce
183-
a binary, the result will be a less optimized version. On technical
184-
level, this is because building via `make neard` enables link-time
185-
optimisation which is disabled by default.
186-
187175
The binary path is `target/release/neard`
188176

189177
### 3. Initialize working directory {#3-initialize-working-directory-1}

docs/rpc/run-rpc-node.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ takes approximately 25 minutes). Note that compilation will need over
8383
with processes being killed, you might want to try reducing number of
8484
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.
8585

86-
If you’re familiar with Cargo, you could also run `cargo build -p neard
87-
--release` instead, which might or might not be equivalent to `make release`. It
88-
is equivalent at the time of writing, but we don't guarantee this. If in doubt,
89-
consult the `Makefile`, or just stick with `make release`.
90-
9186
The binary path is `target/release/neard`
9287

9388
### 3. Initialize working directory {#3-initialize-working-directory}
@@ -171,11 +166,6 @@ takes approximately 25 minutes). Note that compilation will need over
171166
with processes being killed, you might want to try reducing number of
172167
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make release`.
173168

174-
If you’re familiar with Cargo, you could also run `cargo build -p neard
175-
--release` instead, which might or might not be equivalent to `make release`. It
176-
is equivalent at the time of writing, but we don't guarantee this. If in doubt,
177-
consult the `Makefile`, or just stick with `make release`.
178-
179169
The binary path is `target/release/neard`
180170

181171
### 3. Initialize working directory {#3-initialize-working-directory-1}

docs/validator/compile-and-run-a-node.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@ takes approximately 25 minutes). Note that compilation will need over
106106
with processes being killed, you might want to try reducing number of
107107
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make neard`.
108108

109-
By the way, if you’re familiar with Cargo, you could wonder why not
110-
run `cargo build -p neard --release` instead. While this will produce
111-
a binary, the result will be a less optimized version. On technical
112-
level, this is because building via `make neard` enables link-time
113-
optimisation which is disabled by default. The binary path is `target/release/neard`.
114-
115109

116110
For `localnet`, you also have the option to build in nightly mode (which is experimental and is used for cutting-edge testing). When you compile, use the following command:
117111
```bash
@@ -180,12 +174,6 @@ takes approximately 25 minutes). Note that compilation will need over
180174
with processes being killed, you might want to try reducing number of
181175
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make neard`.
182176
183-
By the way, if you’re familiar with Cargo, you could wonder why not
184-
run `cargo build -p neard --release` instead. While this will produce
185-
a binary, the result will be a less optimized version. On technical
186-
level, this is because building via `make neard` enables link-time
187-
optimisation which is disabled by default.
188-
189177
The binary path is `target/release/neard`
190178
191179
### 3. Initialize working directory {#initialize-working-directory-1}
@@ -415,12 +403,6 @@ takes approximately 25 minutes). Note that compilation will need over
415403
with processes being killed, you might want to try reducing number of
416404
parallel jobs, for example: `CARGO_BUILD_JOBS=8 make neard`.
417405
418-
By the way, if you’re familiar with Cargo, you could wonder why not
419-
run `cargo build -p neard --release` instead. While this will produce
420-
a binary, the result will be a less optimized version. On technical
421-
level, this is because building via `make neard` enables link-time
422-
optimisation which is disabled by default.
423-
424406
The binary path is `target/release/neard`
425407
426408
### 3. Initialize working directory {#initialize-working-directory-2}

0 commit comments

Comments
 (0)