Skip to content

Commit a35cda4

Browse files
authored
Merge pull request #138 from dspencer12/main
Fix "panic message is not a string literal"
2 parents 6a8a263 + 588f051 commit a35cda4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ fn main() {
125125
// check that the kernel file exists
126126
assert!(
127127
kernel.exists(),
128-
format!("KERNEL does not exist: {}", kernel.display())
128+
"KERNEL does not exist: {}",
129+
kernel.display()
129130
);
130131

131132
// get access to llvm tools shipped in the llvm-tools-preview rustup component

0 commit comments

Comments
 (0)