We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58d93b commit 37c7ec7Copy full SHA for 37c7ec7
hermit-sys/build.rs
@@ -11,9 +11,11 @@ use std::process::Command;
11
use walkdir::{DirEntry, WalkDir};
12
13
fn build_hermit(src_dir: &Path, target_dir_opt: Option<&Path>) {
14
+ let manifest_path = src_dir.join("Cargo.toml");
15
assert!(
- src_dir.exists(),
16
- "rusty_hermit source folder does not exist"
+ manifest_path.exists(),
17
+ "kernel manifest path `{}` does not exist",
18
+ manifest_path.display()
19
);
20
let target_arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();
21
let profile = env::var("PROFILE").expect("PROFILE was not set");
0 commit comments