Skip to content

Commit 36ad596

Browse files
committed
Fix typo
This PR is fixes typo "avaiable" to "available".
1 parent c067287 commit 36ad596

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/doc/rustc/src/platform-support/pc-windows-gnullvm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Windows targets similar to `*-pc-windows-gnu` but using UCRT as the runtime and various LLVM tools/libraries instead of GCC/Binutils.
66

7-
Target triples avaiable so far:
7+
Target triples available so far:
88
- `aarch64-pc-windows-gnullvm`
99
- `x86_64-pc-windows-gnullvm`
1010

@@ -26,7 +26,7 @@ Like with any other Windows target created binaries are in PE format.
2626
## Building the target
2727

2828
For cross-compilation I recommend using [llvm-mingw](https://github.com/mstorsjo/llvm-mingw) toolchain, one change that seems necessary beside configuring corss compilers is disabling experimental `m86k` target. Otherwise LLVM build fails with `multiple definition ...` errors.
29-
Native bootstrapping builds require rather fragile hacks until host artifacts are avaiable so I won't describe them here.
29+
Native bootstrapping builds require rather fragile hacks until host artifacts are available so I won't describe them here.
3030

3131
## Building Rust programs
3232

src/tools/rustfmt/tests/source/cfg_if/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! The features are detected using the `detect_features` function below.
44
//! This function uses the CPUID instruction to read the feature flags from the
55
//! CPU and encodes them in a `usize` where each bit position represents
6-
//! whether a feature is available (bit is set) or unavaiable (bit is cleared).
6+
//! whether a feature is available (bit is set) or unavailable (bit is cleared).
77
//!
88
//! The enum `Feature` is used to map bit positions to feature names, and the
99
//! the `__crate::detect::check_for!` macro is used to map string literals (e.g.,

src/tools/rustfmt/tests/target/cfg_if/detect/arch/x86.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! The features are detected using the `detect_features` function below.
44
//! This function uses the CPUID instruction to read the feature flags from the
55
//! CPU and encodes them in a `usize` where each bit position represents
6-
//! whether a feature is available (bit is set) or unavaiable (bit is cleared).
6+
//! whether a feature is available (bit is set) or unavailable (bit is cleared).
77
//!
88
//! The enum `Feature` is used to map bit positions to feature names, and the
99
//! the `__crate::detect::check_for!` macro is used to map string literals (e.g.,

0 commit comments

Comments
 (0)