web: switch to debug build and enable minimal optimizations to make wasm work

This commit is contained in:
Bill Thiede 2025-01-26 09:32:06 -08:00
parent 25d31a6ce7
commit c27bcac549
2 changed files with 7 additions and 12 deletions

View File

@ -1,15 +1,10 @@
[workspace] [workspace]
resolver = "2" resolver = "2"
default-members = [ default-members = ["server"]
"server" members = ["web", "server", "notmuch", "procmail2notmuch", "shared"]
]
members = [ [profile.dev]
"web", opt-level = 1
"server",
"notmuch",
"procmail2notmuch",
"shared"
]
[profile.release] [profile.release]
lto = true lto = true

View File

@ -1,5 +1,5 @@
[build] [build]
release = true release = false
[serve] [serve]
# The address to serve on. # The address to serve on.
@ -12,7 +12,7 @@ backend = "http://localhost:9345/api/"
[[hooks]] [[hooks]]
stage = "pre_build" stage = "pre_build"
command = "printf" command = "printf"
command_arguments = [ "\\033c" ] command_arguments = ["\\033c"]
#[[hooks]] #[[hooks]]
#stage = "pre_build" #stage = "pre_build"