deterministic id generator per module (#5811)
* deterministic id generator per module Signed-off-by: Jess Frazelle <github@jessfraz.com> * non Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * do not remake the planes if they are alreaady made; Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * do not remake the planes if they are alreaady made; Signed-off-by: Jess Frazelle <github@jessfraz.com> * clippy Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -1153,7 +1153,7 @@ fn find_examples(text: &str, filename: &str) -> Vec<(String, String)> {
|
||||
async fn run_example(text: &str) -> Result<()> {
|
||||
let program = crate::Program::parse_no_errs(text)?;
|
||||
let ctx = ExecutorContext::new_with_default_client(crate::UnitLength::Mm).await?;
|
||||
let mut exec_state = crate::execution::ExecState::new(&ctx.settings);
|
||||
let mut exec_state = crate::execution::ExecState::new(&ctx);
|
||||
ctx.run(&program, &mut exec_state).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user