Skip to content

Commit

Permalink
Make it possible to include metaview applications statically by compi…
Browse files Browse the repository at this point in the history
…ling to Rust rather than WASM
  • Loading branch information
Jakub Hlusička committed Apr 4, 2020
1 parent 84ac49d commit 6850d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ['cdylib']
crate-type = ['cdylib', 'lib']

[dependencies]
ammolite-math = { path = "../ammolite/ammolite-math" }
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use regex::Regex;
use lazy_static::lazy_static;
use ammolite_math::*;
use wasm_bindgen::prelude::*;
use mlib::*;
use ::mlib::*;

#[derive(Default)]
pub struct SyncIO {
Expand Down

0 comments on commit 6850d22

Please sign in to comment.