From b52941dec76656f9c80c5f67e5326fafd256b9e0 Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Fri, 11 Oct 2024 13:54:18 +0200 Subject: [PATCH] Clarify wording around use of `-fpregs` for amr platform docs. --- src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md | 2 +- .../rustc/src/platform-support/thumbv8m.main-none-eabi.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md b/src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md index 7436a4a53b172..11c9486cb76ea 100644 --- a/src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md +++ b/src/doc/rustc/src/platform-support/thumbv7em-none-eabi.md @@ -52,7 +52,7 @@ to use these flags.
-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.
diff --git a/src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md b/src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md index 7d4abfc8485c0..40b19364f61c2 100644 --- a/src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md +++ b/src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md @@ -76,8 +76,9 @@ to use these flags.
-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.