rust-osdev / bootimage

Tool to create bootable disk images from a Rust OS kernel.
Apache License 2.0
764 stars 67 forks source link

Stuck on blocking waiting for file lock under Windows Subsystem for Linux #38

Closed toothbrush7777777 closed 5 years ago

toothbrush7777777 commented 5 years ago

As the title says. Here is the program output (x64 is the name of my target JSON) when running cargo xrun:

    Finished dev [unoptimized + debuginfo] target(s) in 0.35s
     Running `cargo bootimage runner target/x64/debug/test01`
Building kernel
    Blocking waiting for file lock on x64's sysroot

.cargo/config

[build]
target = "x64.json"

[target.'cfg(target_os = "none")']
runner = "cargo bootimage runner"
toothbrush7777777 commented 5 years ago

I fixed it by changing the runner in .cargo/config from cargo bootimage runner to bootimage runner. 😄