diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:57 +0100 |
---|---|---|
committer | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:57 +0100 |
commit | 21bd818f1ee531a49c46213417774fbc18a8b562 (patch) | |
tree | ea32c744f0fd1932f7a505892e43846a73823fbd /cli/tools/info.rs | |
parent | 6356329b37282178701c0064a4a2cd04286a51e7 (diff) | |
parent | 46b6037644c761369e689704f8e7b857959da155 (diff) |
Merge branch 'main' into haturatu/main
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r-- | cli/tools/info.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs index 34e191850..8363df9f7 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -454,6 +454,7 @@ impl<'a> GraphDisplayContext<'a> { Module::Js(module) => module.maybe_cache_info.as_ref(), Module::Json(module) => module.maybe_cache_info.as_ref(), Module::Node(_) | Module::Npm(_) | Module::External(_) => None, + Module::Wasm(_) => todo!("@dsherret"), }; if let Some(cache_info) = maybe_cache_info { if let Some(local) = &cache_info.local { @@ -476,6 +477,7 @@ impl<'a> GraphDisplayContext<'a> { Module::Js(module) => module.size(), Module::Json(module) => module.size(), Module::Node(_) | Module::Npm(_) | Module::External(_) => 0, + Module::Wasm(_) => todo!("@dsherret"), }; size as f64 }) @@ -575,6 +577,7 @@ impl<'a> GraphDisplayContext<'a> { Module::Js(module) => Some(module.size() as u64), Module::Json(module) => Some(module.size() as u64), Module::Node(_) | Module::Npm(_) | Module::External(_) => None, + Module::Wasm(_) => todo!("@dsherret"), }, }; format!("{} {}", header_text, maybe_size_to_text(maybe_size)) @@ -677,6 +680,7 @@ impl<'a> GraphDisplayContext<'a> { ModuleError::Missing(_, _) | ModuleError::MissingDynamic(_, _) => { self.build_error_msg(specifier, "(missing)") } + ModuleError::WasmParseErr(_, _) => todo!("@dsherret"), } } |