| ... | ... | @@ -50,6 +50,7 @@ pub fn collect_deps_deep(cachepath: string, mdir: std.fs.Dir, options: *CollectO |
| 50 | 50 | return zigmod.Module{ |
| 51 | 51 | .is_sys_lib = false, |
| 52 | 52 | .is_framework = false, |
| 53 | .type = .local, |
| 53 | 54 | .id = "root", |
| 54 | 55 | .name = "root", |
| 55 | 56 | .main = m.main, |
| ... | ... | @@ -79,6 +80,7 @@ pub fn collect_deps(cachepath: string, mdir: std.fs.Dir, options: *CollectOption |
| 79 | 80 | return zigmod.Module{ |
| 80 | 81 | .is_sys_lib = false, |
| 81 | 82 | .is_framework = false, |
| 83 | .type = .local, |
| 82 | 84 | .id = m.id, |
| 83 | 85 | .name = m.name, |
| 84 | 86 | .main = m.main, |
| ... | ... | @@ -231,6 +233,7 @@ pub fn get_module_from_dep(d: *zigmod.Dep, cachepath: string, options: *CollectO |
| 231 | 233 | return zigmod.Module{ |
| 232 | 234 | .is_sys_lib = d.type == .system_lib, |
| 233 | 235 | .is_framework = d.type == .framework, |
| 236 | .type = d.type, |
| 234 | 237 | .id = try u.do_hash(options.alloc, std.crypto.hash.sha3.Sha3_384, d.path), |
| 235 | 238 | .name = d.path, |
| 236 | 239 | .only_os = d.only_os, |