forked from mirrors/gecko-dev
		
	 da87abc762
			
		
	
	
		da87abc762
		
	
	
	
	
		
			
			Ready for review. Final link step on android fails, but we know how to fix it and will add it to this branch soon. Source-Repo: https://github.com/servo/servo Source-Revision: 2cc08f289ab909de44fa09a07b2c43b70ce379b9 --HG-- rename : servo/ports/gonk/build.rs => servo/support/rust-task_info/build.rs
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			565 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			565 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| #![feature(io)]
 | |
| 
 | |
| use std::old_io::process::{Command, ProcessExit, StdioContainer};
 | |
| 
 | |
| 
 | |
| fn main() {
 | |
|     let result = Command::new("make")
 | |
|         .args(&["-f", "makefile.cargo"])
 | |
|         .stdout(StdioContainer::InheritFd(1))
 | |
|         .stderr(StdioContainer::InheritFd(2))
 | |
|         .status()
 | |
|         .unwrap();
 | |
|     assert_eq!(result, ProcessExit::ExitStatus(0));
 | |
| }
 |