Skip to content

Commit d515e88

Browse files
committed
Disable f16 and f128 in compiler-builtins when running rustc tests
1 parent d61b0e7 commit d515e88

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 175d52c5e1779764b66777db1e6f172c2dc365ff Mon Sep 17 00:00:00 2001
2+
From: bjorn3 <[email protected]>
3+
Date: Fri, 9 Aug 2024 15:44:51 +0000
4+
Subject: [PATCH] Disable f16 and f128 in compiler-builtins
5+
6+
---
7+
library/sysroot/Cargo.toml | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/library/sysroot/Cargo.toml b/library/sysroot/Cargo.toml
11+
index 7165c3e48af..968552ad435 100644
12+
--- a/library/sysroot/Cargo.toml
13+
+++ b/library/sysroot/Cargo.toml
14+
@@ -11,7 +11,7 @@ test = { path = "../test" }
15+
16+
# Forward features to the `std` crate as necessary
17+
[features]
18+
-default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind"]
19+
+default = ["std_detect_file_io", "std_detect_dlsym_getauxval", "panic-unwind", "compiler-builtins-no-f16-f128"]
20+
backtrace = ["std/backtrace"]
21+
compiler-builtins-c = ["std/compiler-builtins-c"]
22+
compiler-builtins-mem = ["std/compiler-builtins-mem"]
23+
--
24+
2.34.1
25+

0 commit comments

Comments
 (0)