readd tracebacks and move vortex init to Field
This commit is contained in:
@@ -9,8 +9,8 @@ crate-type = ["cdylib"]
|
||||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
wasm-bindgen = "0.2.54"
|
||||
console_error_panic_hook = { version = "0.1.6" }
|
||||
wee_alloc = { version = "0.4.5" }
|
||||
wasm-bindgen = "0.2.58"
|
||||
console_error_panic_hook = "0.1.6"
|
||||
wee_alloc = "0.4.5"
|
||||
sbp = { path = "../sbp" }
|
||||
ndarray = "0.13.0"
|
||||
|
||||
@@ -8,7 +8,6 @@ static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
|
||||
|
||||
#[wasm_bindgen]
|
||||
pub fn set_panic_hook() {
|
||||
#[cfg(feature = "console_error_panic_hook")]
|
||||
console_error_panic_hook::set_once();
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ if __name__ == "__main__":
|
||||
publish.mkdir(exist_ok=True)
|
||||
|
||||
target_triple = "wasm32-unknown-unknown"
|
||||
command = ["env", "RUSTFLAGS=-Clto=thin", "cargo", "build", "--target", target_triple]
|
||||
command = ["cargo", "build", "--target", target_triple]
|
||||
if args.release:
|
||||
command.append("--release")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user