mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	https://github.com/rust-lang/rust/pull/145489 changed `std_detect` to no longer depend on `cfg-if`, which meant it no longer indirectly pulled in `rustc-std-workspace-core` via `cfg-if`. That caused it to no longer depend on `compiler-builtins`. Change `std_detect` to use `rustc-std-workspace-core` and `rustc-std-workspace-alloc`, to integrate with the rustc workspace. This also pulls in `compiler-builtins` via `rustc-std-workspace-core`. Closes: https://github.com/rust-lang/rust/issues/145594
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "std_detect"
 | 
						|
version = "0.1.5"
 | 
						|
authors = [
 | 
						|
    "Alex Crichton <alex@alexcrichton.com>",
 | 
						|
    "Andrew Gallant <jamslam@gmail.com>",
 | 
						|
    "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
 | 
						|
]
 | 
						|
description = "`std::detect` - Rust's standard library run-time CPU feature detection."
 | 
						|
homepage = "https://github.com/rust-lang/stdarch"
 | 
						|
repository = "https://github.com/rust-lang/stdarch"
 | 
						|
readme = "README.md"
 | 
						|
keywords = ["std", "run-time", "feature", "detection"]
 | 
						|
categories = ["hardware-support"]
 | 
						|
license = "MIT OR Apache-2.0"
 | 
						|
edition = "2024"
 | 
						|
 | 
						|
[badges]
 | 
						|
is-it-maintained-issue-resolution = { repository = "rust-lang/stdarch" }
 | 
						|
is-it-maintained-open-issues = { repository = "rust-lang/stdarch" }
 | 
						|
maintenance = { status = "experimental" }
 | 
						|
 | 
						|
[dependencies]
 | 
						|
core = { version = "1.0.0", package = 'rustc-std-workspace-core' }
 | 
						|
alloc = { version = "1.0.0", package = 'rustc-std-workspace-alloc' }
 | 
						|
 | 
						|
[target.'cfg(not(windows))'.dependencies]
 | 
						|
libc = { version = "0.2.0", optional = true, default-features = false }
 | 
						|
 | 
						|
[features]
 | 
						|
default = []
 | 
						|
std_detect_file_io = [ "libc" ]
 | 
						|
std_detect_dlsym_getauxval = [ "libc" ]
 | 
						|
std_detect_env_override = [ "libc" ]
 |