Skip to content

Commit

Permalink
Add warning to arm-none-eabi.md instead of a Note:
Browse files Browse the repository at this point in the history
  • Loading branch information
thejpster committed Sep 28, 2024
1 parent 487e8d8 commit 1bec022
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/doc/rustc/src/platform-support/arm-none-eabi.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,14 @@ features you do not have available, leaving you with the optimized instruction
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
<div class="warning">

Many target-features are currently unstable and subject to change, and
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.

</div>

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 1bec022

Please sign in to comment.