Fix webasm
This commit is contained in:
parent
cc845774f1
commit
2d659ae098
@ -47,5 +47,6 @@ opt-level = 2
|
|||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
# data-target-name in index.html must match this name for trunk to work
|
||||||
name = "eframe_template"
|
name = "eframe_template"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<title>eframe template</title>
|
<title>eframe template</title>
|
||||||
|
|
||||||
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
|
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
|
||||||
<link data-trunk rel="rust" data-target-name="eframe_template_android" data-wasm-opt="2" />
|
<link data-trunk rel="rust" data-target-name="eframe_template" data-wasm-opt="2" />
|
||||||
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
|
||||||
<base data-trunk-public-url />
|
<base data-trunk-public-url />
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user