mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			968 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			968 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Check to see if we can get parameters from an @argsfile file
 | |
| //
 | |
| // Path replacement in .stderr files (i.e. `$DIR`) doesn't handle mixed path
 | |
| // separators. We have a duplicated version of this test that uses backslash as
 | |
| // the path separator for the command line arguments that is only run on
 | |
| // windows.
 | |
| //
 | |
| //@ ignore-windows
 | |
| //@ normalize-stderr: "os error \d+" -> "os error $$ERR"
 | |
| //@ normalize-stderr: "commandline-argfile-missing.args:[^(]*" -> "commandline-argfile-missing.args: $$FILE_MISSING "
 | |
| //@ normalize-stderr: "commandline-argfile-missing2.args:[^(]*" -> "commandline-argfile-missing2.args: $$FILE_MISSING "
 | |
| //@ compile-flags: --cfg cmdline_set @{{src-base}}/argfile/commandline-argfile-missing.args @{{src-base}}/argfile/commandline-argfile-badutf8.args @{{src-base}}/argfile/commandline-argfile-missing2.args
 | |
| 
 | |
| #[cfg(not(cmdline_set))]
 | |
| compile_error!("cmdline_set not set");
 | |
| 
 | |
| #[cfg(not(unbroken))]
 | |
| compile_error!("unbroken not set");
 | |
| 
 | |
| fn main() {
 | |
| }
 | 
