Skip to content

Commit

Permalink
Clarify wording around use of -fpregs for amr platform docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thejpster committed Oct 11, 2024
1 parent 1bec022 commit b52941d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ to use these flags.

<div class="warning">

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

</div>
Expand Down
5 changes: 3 additions & 2 deletions src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ to use these flags.

<div class="warning">

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

</div>

Expand Down

0 comments on commit b52941d

Please sign in to comment.