File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ impl CanisterBuilder for MotokoBuilder {
93
93
info : & CanisterInfo ,
94
94
) -> DfxResult < Vec < CanisterId > > {
95
95
let motoko_info = info. as_info :: < MotokoCanisterInfo > ( ) ?;
96
- let imports = get_imports ( self . cache . as_ref ( ) , & motoko_info) ?;
96
+ let imports = get_imports ( self . cache . as_ref ( ) , & motoko_info) ?; // TODO: slow operation
97
97
98
98
Ok ( imports
99
99
. iter ( )
Original file line number Diff line number Diff line change @@ -691,6 +691,7 @@ impl CanisterPool {
691
691
self . step_prebuild_all ( log, build_config)
692
692
. map_err ( |e| DfxError :: new ( BuildError :: PreBuildAllStepFailed ( Box :: new ( e) ) ) ) ?;
693
693
694
+ trace ! ( log, "Building dependencies graph." ) ;
694
695
let graph = self . build_dependencies_graph ( ) ?;
695
696
let nodes = petgraph:: algo:: toposort ( & graph, None ) . map_err ( |cycle| {
696
697
let message = match graph. node_weight ( cycle. node_id ( ) ) {
You can’t perform that action at this time.
0 commit comments