Skip to content

Commit 1bec022

Browse files
committed
Add warning to arm-none-eabi.md instead of a Note:
1 parent 487e8d8 commit 1bec022

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/doc/rustc/src/platform-support/arm-none-eabi.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,14 @@ features you do not have available, leaving you with the optimized instruction
105105
scheduling and support for the features you do have. More details are available
106106
in the detailed target-specific documentation.
107107

108-
**Note:** Many target-features are currently unstable and subject to change, and
108+
<div class="warning">
109+
110+
Many target-features are currently unstable and subject to change, and
109111
if you use them you should disassemble the compiler output and manually inspect
110112
it to ensure only appropriate instructions for your CPU have been generated.
111113

114+
</div>
115+
112116
If you wish to use the *target-cpu* and *target-feature* options, you can add
113117
them to your `.cargo/config.toml` file alongside any other flags your project
114118
uses (likely linker related ones):

0 commit comments

Comments
 (0)