Compile world programs only on first start

This commit is contained in:
2026-11-12 09:35:51 +00:00
parent 0b79bb4227
commit 03ad478596
5 changed files with 66 additions and 171 deletions
-5
View File
@@ -62,11 +62,6 @@ impl World {
);
let world = Self::open_with_progress(dir, Some(bundle), &mut progress)
.context("Create world folder and seed files failed")?;
crate::process::precompile_with_progress(world.root.as_ref(), |done, total| {
progress(&format!("Precompile tools {done}/{total}"));
})
.await
.context("Precompile tools failed")?;
progress("Create the first commit in /src/sausage");
let exec = crate::process::exec(Self {
root: world.root.clone(),