web: switch to debug build and enable minimal optimizations to make wasm work
This commit is contained in:
parent
25d31a6ce7
commit
c27bcac549
15
Cargo.toml
15
Cargo.toml
@ -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
|
||||||
|
|||||||
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user