mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
tweaking the nodejs cmd sanity check
This commit is contained in:
parent
7e46f2ceaa
commit
89bc13c37d
@ -77,8 +77,8 @@ pub fn check(build: &mut Build) {
|
|||||||
|
|
||||||
// If a manual nodejs was added to the config,
|
// If a manual nodejs was added to the config,
|
||||||
// of if a nodejs install is detected through config, use it.
|
// of if a nodejs install is detected through config, use it.
|
||||||
if build.config.nodejs.is_some() {
|
if let Some(ref s) = build.config.nodejs {
|
||||||
need_cmd("nodejs".as_ref())
|
need_cmd(s.as_ref());
|
||||||
}
|
}
|
||||||
|
|
||||||
// We're gonna build some custom C code here and there, host triples
|
// We're gonna build some custom C code here and there, host triples
|
||||||
|
Loading…
Reference in New Issue
Block a user