mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 38a8302616
			
		
	
	
		38a8302616
		
	
	
	
	
		
			
			Exposes the error function so we can expose this in the standard library [1]. [1]: https://github.com/rust-lang/compiler-builtins/pull/753
		
			
				
	
	
		
			27 lines
		
	
	
		
			879 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			879 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 175d52c5e1779764b66777db1e6f172c2dc365ff Mon Sep 17 00:00:00 2001
 | |
| From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
 | |
| Date: Fri, 9 Aug 2024 15:44:51 +0000
 | |
| Subject: [PATCH] Disable f16 and f128 in compiler-builtins
 | |
| 
 | |
| ---
 | |
|  library/liballoc/Cargo.toml | 2 +-
 | |
|  1 file changed, 1 insertion(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/library/liballoc/Cargo.toml b/library/liballoc/Cargo.toml
 | |
| index 7165c3e48af..968552ad435 100644
 | |
| --- a/library/alloc/Cargo.toml
 | |
| +++ b/library/alloc/Cargo.toml
 | |
| @@ -11,7 +11,7 @@ test = { path = "../test" }
 | |
|  edition = "2021"
 | |
|  
 | |
|  [dependencies]
 | |
|  core = { path = "../core" }
 | |
| -compiler_builtins = { version = "=0.1.146", features = ['rustc-dep-of-std'] }
 | |
| +compiler_builtins = { version = "=0.1.146", features = ['rustc-dep-of-std', 'no-f16-f128'] }
 | |
|  
 | |
|  [dev-dependencies]
 | |
|  rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
 | |
| -- 
 | |
| 2.34.1
 | |
| 
 |