Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check that the --kernel-manifest path exists
  • Loading branch information
phil-opp committed Feb 22, 2021
1 parent 38fd486 commit 9a8ace7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.rs
Expand Up @@ -213,6 +213,12 @@ mod binary {
path,
)
}
Ok(path) if !Path::new(&path).exists() => {
format!(
"compile_error!(\"The given `--kernel-manifest` path `{}` does not exist`\")",
path,
)
}
Ok(path) => {
println!("cargo:rerun-if-changed={}", path);

Expand Down

0 comments on commit 9a8ace7

Please sign in to comment.