clarify error

This commit is contained in:
Christien Rioux 2023-11-07 20:38:36 -05:00
parent 425b31c023
commit ffacbdfe25

View File

@ -16,7 +16,7 @@ fn get_capnp_version_string() -> String {
.arg("--version") .arg("--version")
.stdout(Stdio::piped()) .stdout(Stdio::piped())
.output() .output()
.expect("capnp was not in the PATH"); .expect("capnp was not in the PATH, and is required for the build when you have changed any .capnp files");
let s = String::from_utf8(output.stdout) let s = String::from_utf8(output.stdout)
.expect("'capnp --version' output was not a valid string") .expect("'capnp --version' output was not a valid string")
.trim() .trim()