Build demo app with all features enabled
This commit is contained in:
parent
6552d59ac9
commit
f68c30e0c7
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
cargo run --bin egui_demo_app --release
|
||||
cargo run --bin egui_demo_app --release --all-features
|
||||
|
|
|
@ -13,7 +13,7 @@ rm -f docs/${CRATE_NAME}_bg.wasm
|
|||
|
||||
echo "Building rust…"
|
||||
BUILD=release
|
||||
cargo build --release -p ${CRATE_NAME} --lib --target wasm32-unknown-unknown
|
||||
cargo build --release --all-features -p ${CRATE_NAME} --lib --target wasm32-unknown-unknown
|
||||
|
||||
echo "Generating JS bindings for wasm…"
|
||||
TARGET_NAME="${CRATE_NAME}.wasm"
|
||||
|
|
|
@ -213,35 +213,35 @@ function makeMutClosure(arg0, arg1, dtor, f) {
|
|||
return real;
|
||||
}
|
||||
function __wbg_adapter_26(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he4adf11b347d06cc(arg0, arg1);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc16cc95573108e86(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wbg_adapter_29(arg0, arg1) {
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h320442d72495657f(arg0, arg1);
|
||||
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ef11c34c6eb9840(arg0, arg1);
|
||||
}
|
||||
|
||||
function __wbg_adapter_32(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2118079e16ce18f6(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3af8e3f07f026be0(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_35(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2118079e16ce18f6(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3af8e3f07f026be0(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_38(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2118079e16ce18f6(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3af8e3f07f026be0(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_41(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2118079e16ce18f6(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3af8e3f07f026be0(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_44(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2118079e16ce18f6(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3af8e3f07f026be0(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
function __wbg_adapter_47(arg0, arg1, arg2) {
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h95a2558ec93d24e8(arg0, arg1, addHeapObject(arg2));
|
||||
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6f43a93dde0ee379(arg0, arg1, addHeapObject(arg2));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -871,35 +871,35 @@ async function init(input) {
|
|||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2332 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_26);
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_26);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2333 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_29);
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_29);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2336 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_32);
|
||||
imports.wbg.__wbindgen_closure_wrapper2335 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_32);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2338 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_35);
|
||||
imports.wbg.__wbindgen_closure_wrapper2337 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_35);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2340 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_38);
|
||||
imports.wbg.__wbindgen_closure_wrapper2339 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_38);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2342 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_41);
|
||||
imports.wbg.__wbindgen_closure_wrapper2341 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_41);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper2344 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 607, __wbg_adapter_44);
|
||||
var ret = makeMutClosure(arg0, arg1, 594, __wbg_adapter_44);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
imports.wbg.__wbindgen_closure_wrapper3087 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 649, __wbg_adapter_47);
|
||||
imports.wbg.__wbindgen_closure_wrapper3221 = function(arg0, arg1, arg2) {
|
||||
var ret = makeMutClosure(arg0, arg1, 671, __wbg_adapter_47);
|
||||
return addHeapObject(ret);
|
||||
};
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue