Skip to content

Commit

Permalink
since this PR requires rust >= 1.15 (because of rust-lang/rust#38811)…
Browse files Browse the repository at this point in the history
… in Windows, eliminate the workaround hack for the rust issue that's been fixed.
  • Loading branch information
Dave Herman committed Feb 18, 2017
1 parent e6e1115 commit 3eba7ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/neon-runtime/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extern crate gcc;

use std::process::{Command, Stdio};
use std::process::Command;
use std::env;

fn main() {
Expand Down Expand Up @@ -61,9 +61,8 @@ fn build_object_file() {
println!("cargo:node_lib_file={}", &node_gyp_output[node_lib_file_start_index..node_lib_file_end_index]);
}

// Run `node-gyp build` (appending -d in debug mode).
// Run `node-gyp build`.
npm()
.stderr(Stdio::null()) // Prevents cargo build from hanging on Windows.
.args(&["run", if debug() { "build-debug" } else { "build-release" }])
.status()
.ok()
Expand Down

0 comments on commit 3eba7ac

Please sign in to comment.