Skip to content

Commit 0871255

Browse files
committed
fix: build.rs should panic.
1 parent bc090ce commit 0871255

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: hal/stm32l4

Diff for: kernel/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn main() {
4242
bindings.write_to_file("include/kernel/lib.h");
4343
}
4444
Err(e) => {
45-
eprintln!("Error generating bindings: {}", e);
45+
panic!("Error generating bindings: {}", e);
4646
}
4747
}
4848

0 commit comments

Comments
 (0)