mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	This pulls in rust-lang/rustc-rayon#8 to fix #81425. (h/t @ammaraskar) That revealed weak constraints on `rustc_arena::DropArena`, because its `DropType` was holding type-erased raw pointers to generic `T`. We can implement `Send` for `DropType` (under `cfg(parallel_compiler)`) by requiring all `T: Send` before they're type-erased.
		
			
				
	
	
		
			23 lines
		
	
	
		
			657 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			657 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
authors = ["The Rust Project Developers"]
 | 
						|
name = "rustc_query_system"
 | 
						|
version = "0.0.0"
 | 
						|
edition = "2018"
 | 
						|
 | 
						|
[lib]
 | 
						|
doctest = false
 | 
						|
 | 
						|
[dependencies]
 | 
						|
rustc_arena = { path = "../rustc_arena" }
 | 
						|
tracing = "0.1"
 | 
						|
rustc-rayon-core = "0.3.1"
 | 
						|
rustc_data_structures = { path = "../rustc_data_structures" }
 | 
						|
rustc_errors = { path = "../rustc_errors" }
 | 
						|
rustc_macros = { path = "../rustc_macros" }
 | 
						|
rustc_index = { path = "../rustc_index" }
 | 
						|
rustc_serialize = { path = "../rustc_serialize" }
 | 
						|
rustc_session = { path = "../rustc_session" }
 | 
						|
rustc_span = { path = "../rustc_span" }
 | 
						|
parking_lot = "0.11"
 | 
						|
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
 |