Skip to content

Commit

Permalink
fix build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Jan 11, 2024
1 parent 71596fb commit 8f79998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::path::Path;

fn main() {
let linux_headers_path = {
let path = env::var("LINUX_HEADERS_PATH").unwrap();
let path = env::var("LINUX_HEADERS_PATH").expect("LINUX_HEADERS_PATH not present");
let path = Path::new(&path).canonicalize().unwrap();
path.to_str().unwrap().to_string()
};
Expand Down

0 comments on commit 8f79998

Please sign in to comment.