From 2d659ae0985021f3c3c45ee5d3a30c56bb44d638 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Mon, 6 May 2024 16:51:47 -0400 Subject: [PATCH] Fix webasm --- Cargo.toml | 1 + index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ab8a670..94176c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,5 +47,6 @@ opt-level = 2 crate-type = ["cdylib"] [[bin]] +# data-target-name in index.html must match this name for trunk to work name = "eframe_template" path = "src/main.rs" diff --git a/index.html b/index.html index a68d317..009846e 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ eframe template - +