Parcourir la source

Fix `xtask` dir not found

徐启航 il y a 1 an
Parent
commit
f11d9a378f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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(