Merge rust-bitcoin/rust-bitcoin#4058: Do not enable `soft-float` when running `miri`
f99847d6ec
Do not enable `soft-float` when running `miri` (Martin Habovstiak) Pull request description: 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. ACKs for top commit: apoelstra: ACK f99847d6eca0977d6f987baa7846c62a0613ba35; successfully ran local tests; thanks for digging into this! tcharding: ACKf99847d6ec
Tree-SHA512: c016179bca1fafae22f5229b232fe190e22942c9e71b719bfcafc33ab269c52f5ff5a834b194974b8f0e6ab4e0ba93aa226231ce0f2618a6c6221e363cd3c333
This commit is contained in:
commit
0a053513a5
|
@ -6,7 +6,7 @@ cd "$(dirname "$0")/.."
|
|||
|
||||
. 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;
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue