Skip to content

Commit

Permalink
Fixed some typographical errors in arm-none-eabi.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant committed Apr 26, 2024
1 parent b0f7562 commit b173984
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/rustc/src/platform-support/arm-none-eabi.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ FPU support.

If a target ends if `eabihf`, that target uses the so-called *hard-float ABI*:
functions which take `f32` or `f64` as arguments will have them passed via FPU
registers. These target therefore require the use of an FPU and will assume the
registers. These targets therefore require the use of an FPU and will assume the
minimum support FPU for that architecture is available. More advanced FPU
instructions (e.g. ones that work on double-precision `f64` values) may be
generated if the code is compiled with a `target-cpu` or `target-feature` option
Expand All @@ -66,10 +66,10 @@ scheduling and support for the features you do have. More details are available
in the detailed target-specific documentation.

**Note:** Many target-features are currently unstable and subject to change, and
if you use them you should dissassmble the compiler output and manually inspect
if you use them you should disassemble the compiler output and manually inspect
it to ensure only appropriate instructions for your CPU have been generated.

If do you wish to use the *target-cpu* and *target-feature* options, you can add
If you wish to use the *target-cpu* and *target-feature* options, you can add
them to your `.cargo/config.toml` file alongside any other flags your project
uses (likely linker related ones):

Expand Down

0 comments on commit b173984

Please sign in to comment.