Skip to content

Commit b52941d

Browse files
committed
Clarify wording around use of -fpregs for amr platform docs.
1 parent 1bec022 commit b52941d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ to use these flags.
5252

5353
<div class="warning">
5454

55-
Never use the `-fpregs` *target-feature* with these `eabihf` targets
55+
Never use the `-fpregs` *target-feature* with the `thumbv7em-none-eabihf` target
5656
as it will cause compilation units to have different ABIs, which is unsound.
5757

5858
</div>

src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ to use these flags.
7676

7777
<div class="warning">
7878

79-
Never use the `-fpregs` *target-feature* with these `eabihf` targets
80-
as it will cause compilation units to have different ABIs, which is unsound.
79+
Never use the `-fpregs` *target-feature* with the `thumbv8m.main-none-eabihf`
80+
target as it will cause compilation units to have different ABIs, which is
81+
unsound.
8182

8283
</div>
8384

0 commit comments

Comments
 (0)