Skip to content

Commit d9af624

Browse files
committed
Hm
1 parent 705300a commit d9af624

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.cargo/config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ rustflags = ["-Clinker-features=-lld"]
99

1010
[target.x86_64-pc-windows-msvc]
1111
linker = "lld-link"
12+
rustflags = ["-C", "target-feature=+crt-static"]
1213

1314
[target.aarch64-pc-windows-msvc]
14-
linker = "lld-link"
15+
linker = "lld-link"
16+
rustflags = ["-C", "target-feature=+crt-static"]

build/ui.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ export async function buildUi(target?: string, debug = false) {
5959
break;
6060
case "desktop":
6161
buildArgs.push("build");
62+
if (Deno.build.os === "darwin") {
63+
buildArgs.push("--bundles", "app");
64+
} else {
65+
buildArgs.push("--no-bundle");
66+
}
6267
break;
6368
}
6469

0 commit comments

Comments
 (0)