web: migrate from lib->bin
This commit is contained in:
@@ -12,9 +12,7 @@ mod graphql;
|
||||
mod state;
|
||||
mod view;
|
||||
|
||||
// (This function is invoked by `init` function in `index.html`.)
|
||||
#[wasm_bindgen(start)]
|
||||
pub fn start() {
|
||||
fn main() {
|
||||
// This provides better error messages in debug mode.
|
||||
// It's disabled in release mode so it doesn't bloat up the file size.
|
||||
#[cfg(debug_assertions)]
|
||||
Reference in New Issue
Block a user