call project_attributes from top-level (#846)

This commit is contained in:
Mark Thom
2021-03-04 16:05:01 -07:00
parent 34c3035c2b
commit 1b9db035ba
5 changed files with 5 additions and 14 deletions

View File

@@ -200,12 +200,6 @@ impl Machine {
self.machine_st.attr_var_init.verify_attrs_loc = code_index.local().unwrap();
}
}
if let Some(module) = self.indices.modules.get(&clause_name!("$project_atts")) {
if let Some(code_index) = module.code_dir.get(&(clause_name!("driver"), 2)) {
self.machine_st.attr_var_init.project_attrs_loc = code_index.local().unwrap();
}
}
}
pub fn run_top_level(&mut self) {