Meaningful error message if gn can't be run (#1115)

This commit is contained in:
Jonathan Birk 2022-11-27 02:03:24 +00:00 committed by GitHub
parent 3c6d259507
commit 9a0a6bc570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,7 +677,7 @@ pub fn maybe_gen(manifest_dir: &str, gn_args: GnArgs) -> PathBuf {
.stderr(Stdio::inherit())
.envs(env::vars())
.status()
.unwrap()
.expect("Coud not run `gn`")
.success());
}
gn_out_dir