Skip to content

Commit fa15f94

Browse files
authored
Rollup merge of #114826 - xzmeng:fix-typos, r=JohnTitor
Fix typos
2 parents 8db5a6d + fe6d541 commit fa15f94

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/doc/rustc/src/codegen-options/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ See the [Symbol Mangling] chapter for details on symbol mangling and the manglin
584584
This instructs `rustc` to generate code specifically for a particular processor.
585585

586586
You can run `rustc --print target-cpus` to see the valid options to pass
587-
and the default target CPU for the current buid target.
587+
and the default target CPU for the current build target.
588588
Each target has a default base CPU. Special values include:
589589

590590
* `native` can be passed to use the processor of the host machine.

src/doc/rustc/src/platform-support/aarch64-unknown-teeos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ It's very small that there is no RwLock, no network, no stdin, and no file syste
1010
Some abbreviation:
1111
| Abbreviation | The full text | Description |
1212
| ---- | ---- | ---- |
13-
| TEE | Trusted Execution Environment | ARM TrustZone devide the system into two worlds/modes -- the secure world/mode and the normal world/mode. TEE is in the secure world/mode. |
13+
| TEE | Trusted Execution Environment | ARM TrustZone divides the system into two worlds/modes -- the secure world/mode and the normal world/mode. TEE is in the secure world/mode. |
1414
| REE | Rich Execution Environment | The normal world. for example, Linux for Android phone is in REE side. |
1515
| TA | Trusted Application | The app run in TEE side system. |
1616
| CA | Client Application | The progress run in REE side system. |

src/doc/rustc/src/platform-support/loongarch-linux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ CXX_loongarch64_unknown_linux_gnu=/TOOLCHAIN_PATH/bin/loongarch64-unknown-linux-
7171
AR_loongarch64_unknown_linux_gnu=/TOOLCHAIN_PATH/bin/loongarch64-unknown-linux-gnu-gcc-ar \
7272
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNUN_LINKER=/TOOLCHAIN_PATH/bin/loongarch64-unknown-linux-gnu-gcc \
7373
# SET TARGET SYSTEM LIBRARY PATH
74-
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNUN_RUNNER="qemu-loongarch64 -L /TOOLCHAIN_PATH/TARGET_LIBRAY_PATH" \
74+
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNUN_RUNNER="qemu-loongarch64 -L /TOOLCHAIN_PATH/TARGET_LIBRARY_PATH" \
7575
cargo run --target loongarch64-unknown-linux-gnu --release
7676
```
7777
Tested on x86 architecture, other architectures not tested.

src/doc/rustc/src/platform-support/netbsd.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The Rust testsuite could presumably be run natively.
8686

8787
For the systems where the maintainer can build natively, the rust
8888
compiler itself is re-built natively. This involves the rust compiler
89-
being re-built with the newly self-built rust compiler, so excercises
89+
being re-built with the newly self-built rust compiler, so exercises
9090
the result quite extensively.
9191

9292
Additionally, for some systems we build `librsvg`, and for the more

src/doc/rustc/src/platform-support/x86_64h-apple-darwin.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ will fail to load on machines that do not support this.
2020

2121
It should support the full standard library (`std` and `alloc` either with
2222
default or user-defined allocators). This target is probably most useful when
23-
targetted via cross-compilation (including from `x86_64-apple-darwin`), but if
23+
targeted via cross-compilation (including from `x86_64-apple-darwin`), but if
2424
built manually, the host tools work.
2525

2626
It is similar to `x86_64-apple-darwin` in nearly all respects, although the
@@ -49,7 +49,7 @@ suite seems to work.
4949

5050
Cross-compilation to this target from Apple hosts should generally work without
5151
much configuration, so long as XCode and the CommandLineTools are installed.
52-
Targetting it from non-Apple hosts is difficult, but no moreso than targetting
52+
Targeting it from non-Apple hosts is difficult, but no more so than targeting
5353
`x86_64-apple-darwin`.
5454

5555
When compiling C code for this target, either the "`x86_64h-apple-macosx*`" LLVM

src/doc/unstable-book/src/compiler-flags/path-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `--print` Options
22

3-
The behavior of the `--print` flag can be modified by optionally be specifiying a filepath
3+
The behavior of the `--print` flag can be modified by optionally be specifying a filepath
44
for each requested information kind, in the format `--print KIND=PATH`, just like for
55
`--emit`. When a path is specified, information will be written there instead of to stdout.
66

0 commit comments

Comments
 (0)