cardinal_gui/
lib.rs

1use log::{error, info};
2
3#[cfg_attr(target_arch = "wasm32", path = "web.rs")]
4#[cfg_attr(not(target_arch = "wasm32"), path = "native.rs")]
5mod core_entry;
6
7/// Shared entry point for both binaries
8pub fn entry() -> anyhow::Result<()> {
9    let out = core_entry::run();
10    match &out {
11        Ok(()) => info!("core::run() completed successfully"),
12        Err(e) => error!("core::run() failed: {e:?}"),
13    };
14    out
15}
16pub mod stage;
17pub mod uxn;
18pub mod uxn_panel;
19
20pub mod cardinal_orcas_symbols;
21#[cfg(feature = "uses_e_midi")]
22pub mod e_midi;