Skip to content

Commit 7cbc71e

Browse files
committed
libcore float tests: replace macro shadowing by const-compatible macro
1 parent 3c00f7d commit 7cbc71e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

patches/0029-sysroot_tests-disable-f16-math.patch

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ index c61961f8584..d7b4fa20322 100644
1919
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
2020
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
2121
},
22-
test<Float> {
22+
test {
2323
@@ -1557,7 +1557,7 @@ fn s_nan() -> Float {
2424
name: exp,
2525
attrs: {
@@ -28,7 +28,7 @@ index c61961f8584..d7b4fa20322 100644
2828
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
2929
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
3030
},
31-
test<Float> {
31+
test {
3232
@@ -1578,7 +1578,7 @@ fn s_nan() -> Float {
3333
name: exp2,
3434
attrs: {
@@ -37,7 +37,7 @@ index c61961f8584..d7b4fa20322 100644
3737
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
3838
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
3939
},
40-
test<Float> {
40+
test {
4141
@@ -1598,7 +1598,7 @@ fn s_nan() -> Float {
4242
name: ln,
4343
attrs: {
@@ -46,7 +46,7 @@ index c61961f8584..d7b4fa20322 100644
4646
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
4747
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
4848
},
49-
test<Float> {
49+
test {
5050
@@ -1620,7 +1620,7 @@ fn s_nan() -> Float {
5151
name: log,
5252
attrs: {
@@ -55,7 +55,7 @@ index c61961f8584..d7b4fa20322 100644
5555
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
5656
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
5757
},
58-
test<Float> {
58+
test {
5959
@@ -1645,7 +1645,7 @@ fn s_nan() -> Float {
6060
name: log2,
6161
attrs: {
@@ -64,7 +64,7 @@ index c61961f8584..d7b4fa20322 100644
6464
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
6565
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
6666
},
67-
test<Float> {
67+
test {
6868
@@ -1668,7 +1668,7 @@ fn s_nan() -> Float {
6969
name: log10,
7070
attrs: {
@@ -73,7 +73,7 @@ index c61961f8584..d7b4fa20322 100644
7373
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
7474
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
7575
},
76-
test<Float> {
76+
test {
7777
@@ -1692,7 +1692,7 @@ fn s_nan() -> Float {
7878
name: asinh,
7979
attrs: {
@@ -82,7 +82,7 @@ index c61961f8584..d7b4fa20322 100644
8282
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
8383
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
8484
},
85-
test<Float> {
85+
test {
8686
@@ -1725,7 +1725,7 @@ fn s_nan() -> Float {
8787
name: acosh,
8888
attrs: {
@@ -91,7 +91,7 @@ index c61961f8584..d7b4fa20322 100644
9191
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
9292
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
9393
},
94-
test<Float> {
94+
test {
9595
@@ -1753,7 +1753,7 @@ fn s_nan() -> Float {
9696
name: atanh,
9797
attrs: {
@@ -100,7 +100,7 @@ index c61961f8584..d7b4fa20322 100644
100100
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
101101
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
102102
},
103-
test<Float> {
103+
test {
104104
@@ -1779,7 +1779,7 @@ fn s_nan() -> Float {
105105
name: gamma,
106106
attrs: {
@@ -109,7 +109,7 @@ index c61961f8584..d7b4fa20322 100644
109109
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
110110
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
111111
},
112-
test<Float> {
112+
test {
113113
@@ -1814,7 +1814,7 @@ fn s_nan() -> Float {
114114
name: ln_gamma,
115115
attrs: {
@@ -118,7 +118,7 @@ index c61961f8584..d7b4fa20322 100644
118118
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
119119
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
120120
},
121-
test<Float> {
121+
test {
122122
@@ -2027,7 +2027,7 @@ fn s_nan() -> Float {
123123
attrs: {
124124
// FIXME(f16_f128): add math tests when available
@@ -127,7 +127,7 @@ index c61961f8584..d7b4fa20322 100644
127127
+ f16: #[cfg(false)], // FIXME(rust-lang/rustc_codegen_cranelift#1622)
128128
f128: #[cfg(all(not(miri), target_has_reliable_f128_math))],
129129
},
130-
test<Float> {
130+
test {
131131
--
132132
2.50.1
133133

0 commit comments

Comments
 (0)