mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	It's only used in tests. Which is bad, because it means that `FileEncoder` is used in the compiler but isn't used in tests! `tests/opaque.rs` now tests encoding/decoding round-trips via file. Because this is slower than memory, this commit also adjusts the `u16`/`i16` tests so they are more like the `u32`/`i32` tests, i.e. they don't test every possible value.
		
			
				
	
	
		
			14 lines
		
	
	
		
			275 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			275 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "rustc_serialize"
 | 
						|
version = "0.0.0"
 | 
						|
edition = "2021"
 | 
						|
 | 
						|
[dependencies]
 | 
						|
indexmap = "1.9.3"
 | 
						|
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
 | 
						|
thin-vec = "0.2.12"
 | 
						|
 | 
						|
[dev-dependencies]
 | 
						|
rustc_macros = { path = "../rustc_macros" }
 | 
						|
tempfile = "3.2"
 |