Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commit 5a764823 authored by Jonathan Klimt's avatar Jonathan Klimt Committed by Stefan Lankes
Browse files

slighly improved error message for missing cli utils

parent 94285641
......@@ -14,12 +14,12 @@ fn main() {
.args(&["src/arch/x86_64/entry.asm", "-felf64", "-o"])
.arg(&format!("{}/entry.o", out_dir))
.status()
.unwrap();
.expect("Could not start nasm. Is it installed?");
Command::new("ar")
.args(&["crus", "libentry.a", "entry.o"])
.current_dir(&Path::new(&out_dir))
.status()
.unwrap();
.expect("Could not start ar. Is it installed?");
println!("cargo:rustc-link-search=native={}", out_dir);
println!("cargo:rustc-link-lib=static=entry");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment