Working module reading

This commit is contained in:
2026-06-01 11:40:01 +02:00
parent b384f55c77
commit 082981f0bd
2 changed files with 58 additions and 33 deletions
+4
View File
@@ -6,6 +6,7 @@ use <std::time>;
use <std::env>;
use <mist_parser::error>;
use <crate::modules>;
pub PathBuf build(bool force) {
var start = time::Instant::now();
@@ -15,8 +16,11 @@ pub PathBuf build(bool force) {
PathBuf src = root.join("src");
PathBuf out = root.join(".mist/src");
build_dir(&root, &src, &src, &out, force);
var master = modules::master_package(src.join("main.mist"), out.join("main.rs"));
var elapsed = start.elapsed();
println!(