Sfoglia il codice sorgente

Fix `xtask` dir not found

徐启航 1 anno fa
parent
commit
6557a25490
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      xtask/src/dist.rs

+ 2 - 0
xtask/src/dist.rs

@@ -47,6 +47,8 @@ impl Dist {
         fs::create_dir_all(PathBuf::from(&target_root).join("bootfs/bin"))?;
         fs::create_dir_all(PathBuf::from(&target_root).join("sysroot/usr/include"))?;
         fs::create_dir_all(PathBuf::from(&target_root).join("sysroot/usr/lib"))?;
+        fs::create_dir_all(src_root.join(H2O_KERNEL).join("target"))?;
+        fs::create_dir_all(src_root.join("h2o/libs/syscall/target"))?;
 
         // Generate syscall stubs
         crate::gen::gen_syscall(