Skip to content

Commit 77dfdb6

Browse files
committed
comment
1 parent 1b1dca9 commit 77dfdb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dfx/src/lib/builders/motoko.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl CanisterBuilder for MotokoBuilder {
144144
std::fs::create_dir_all(idl_dir_path)
145145
.with_context(|| format!("Failed to create {}.", idl_dir_path.to_string_lossy()))?;
146146

147-
let imports = get_imports(cache.as_ref(), &motoko_info)?;
147+
let imports = get_imports(cache.as_ref(), &motoko_info)?; // TODO: repeated slow operation
148148

149149
// If the management canister is being imported, emit the candid file.
150150
if imports.contains(&MotokoImport::Ic("aaaaa-aa".to_string()))

0 commit comments

Comments
 (0)