build.rs instead of frontend crate features
This commit is contained in:
parent
65aac66f18
commit
76e997cb86
7 changed files with 43 additions and 26 deletions
|
@ -143,10 +143,8 @@ impl ControlsPanel {
|
|||
let hierarchy_and_time_table = hierarchy_and_time_table.clone();
|
||||
Task::start(async move {
|
||||
platform::load_waveform(test_file_name).await;
|
||||
let (hierarchy, time_table) = join!(
|
||||
platform::get_hierarchy(),
|
||||
platform::get_time_table()
|
||||
);
|
||||
let (hierarchy, time_table) =
|
||||
join!(platform::get_hierarchy(), platform::get_time_table());
|
||||
hierarchy_and_time_table.set(Some((Rc::new(hierarchy), Rc::new(time_table))))
|
||||
})
|
||||
})
|
||||
|
|
Reference in a new issue