Do not enable `soft-float` when running `miri`

To ensure that all target features are tested we simply enable all of
them. However some of them are problematic. We already have an exception
to not enable `crt-static`. This change also adds `soft-float` to the
list because `miri` was warning about it being UB.
This commit is contained in:
Martin Habovstiak 2025-02-14 13:54:37 +01:00
parent 20e970d7f6
commit f99847d6ec
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ cd "$(dirname "$0")/.."
. contrib/test_vars.sh . contrib/test_vars.sh
target_features="$(rustc --print target-features | awk '{ if ($1 == "") { exit 0 } if (NR != 1 && $1 != "crt-static") { if (NR == 2) { printf "+%s", $1 } else { printf ",+%s", $1 } } }')" target_features="$(rustc --print target-features | awk '{ if ($1 == "") { exit 0 } if (NR != 1 && $1 != "crt-static" && $1 != "soft-float") { if (NR == 2) { printf "+%s", $1 } else { printf ",+%s", $1 } } }')"
for crate in $CRATES; for crate in $CRATES;
do do