@@ -4,22 +4,23 @@ Date: Fri, 9 Aug 2024 15:44:51 +0000
4
4
Subject: [PATCH] Disable f16 and f128 in compiler-builtins
5
5
6
6
---
7
- library/sysroot /Cargo.toml | 2 +-
7
+ library/liballoc /Cargo.toml | 2 +-
8
8
1 file changed, 1 insertion(+), 1 deletion(-)
9
9
10
- diff --git a/library/sysroot /Cargo.toml b/library/sysroot /Cargo.toml
10
+ diff --git a/library/liballoc /Cargo.toml b/library/liballoc /Cargo.toml
11
11
index 7165c3e48af..968552ad435 100644
12
- --- a/library/sysroot /Cargo.toml
13
- +++ b/library/sysroot /Cargo.toml
12
+ --- a/library/alloc /Cargo.toml
13
+ +++ b/library/alloc /Cargo.toml
14
14
@@ -11,7 +11,7 @@ test = { path = "../test" }
15
+ edition = "2021"
15
16
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"]
17
+ [dependencies]
18
+ core = { path = "../core" }
19
+ - compiler_builtins = { version = "=0.1.138 ", features = ['rustc-dep-of-std'] }
20
+ + compiler_builtins = { version = "=0.1.138 ", features = ['rustc-dep-of-std', ' no-f16-f128'] }
21
+
22
+ [dev-dependencies ]
23
+ rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
23
24
- -
24
25
2.34.1
25
26
0 commit comments