Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustup 2015 01 31 #133

Merged
merged 2 commits into from Feb 11, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Add link flags.

  • Loading branch information
jdm committed Feb 6, 2015
commit f01d85186415afdaded8179ba7455534931778ca
@@ -5,14 +5,16 @@
#![feature(io)]

use std::old_io::process::{Command, ProcessExit, StdioContainer};

use std::os;

fn main() {
let out_dir = os::getenv("OUT_DIR").unwrap();
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));
println!("cargo:rustc-flags=-L native={}", out_dir);
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.