about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan 'theJPster' Pallant <github@thejpster.org.uk>2024-09-28 18:20:12 +0100
committerJonathan 'theJPster' Pallant <github@thejpster.org.uk>2024-09-28 18:20:12 +0100
commit1bec0226d9ec3cf12d1709daa6b23e9f16f08d10 (patch)
tree8c56e7d3b13df3b0aab6a711c53f2ad166c5347f
parent487e8d8350409f4970b74bf06611bd7885a3212a (diff)
downloadrust-1bec0226d9ec3cf12d1709daa6b23e9f16f08d10.tar.gz
rust-1bec0226d9ec3cf12d1709daa6b23e9f16f08d10.zip
Add warning to arm-none-eabi.md instead of a Note:
-rw-r--r--src/doc/rustc/src/platform-support/arm-none-eabi.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doc/rustc/src/platform-support/arm-none-eabi.md b/src/doc/rustc/src/platform-support/arm-none-eabi.md
index f135ff155a2..9732df4be7f 100644
--- a/src/doc/rustc/src/platform-support/arm-none-eabi.md
+++ b/src/doc/rustc/src/platform-support/arm-none-eabi.md
@@ -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):