(cfg: &mut interlayer::Config)
| 78 | } |
| 79 | |
| 80 | pub fn global_res(cfg: &mut interlayer::Config) { |
| 81 | let global_res_names: Vec<_> = cfg.resources.keys().cloned().collect(); |
| 82 | let mut visit: HashMap<_, _> = cfg |
| 83 | .graphs |
| 84 | .iter() |
| 85 | .map(|graph| (graph.name.clone(), false)) |
| 86 | .collect(); |
| 87 | |
| 88 | for name in visit.keys().cloned().collect::<Vec<_>>() { |
| 89 | global_res_impl(name, cfg, global_res_names.as_slice(), &mut visit); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | pub fn bcast( |
| 94 | id: &str, |
no test coverage detected