mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
link tokio issue, remove opt-level line
opt-level relies on the default instead
This commit is contained in:
committed by
link2xt
parent
ccd4d46391
commit
056b8ba1e8
@@ -1,9 +1,11 @@
|
|||||||
[env]
|
[env]
|
||||||
# In unoptimised builds tokio tends to use a lot of stack space when
|
# In unoptimised builds tokio tends to use a lot of stack space when
|
||||||
# creating some complicated futures. Some of our tests manage to not
|
# creating some complicated futures, tokio has an open issue for this:
|
||||||
# fit in the default 2MiB stack anymore due to this. Because
|
# https://github.com/tokio-rs/tokio/issues/2055. Some of our tests
|
||||||
# compiling optimised builds takes a very long time we prefer to avoid
|
# manage to not fit in the default 2MiB stack anymore due to this, so
|
||||||
# that. Setting this environment variable ensures that when invoking
|
# while the issue is not resolved we want to work around this.
|
||||||
# `cargo test` threads are allowed to have a large enough stack size
|
# Because compiling optimised builds takes a very long time we prefer
|
||||||
# without needing to use an optimised build.
|
# to avoid that. Setting this environment variable ensures that when
|
||||||
|
# invoking `cargo test` threads are allowed to have a large enough
|
||||||
|
# stack size without needing to use an optimised build.
|
||||||
RUST_MIN_STACK = "8388608"
|
RUST_MIN_STACK = "8388608"
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ rust-version = "1.56"
|
|||||||
[profile.dev]
|
[profile.dev]
|
||||||
debug = 0
|
debug = 0
|
||||||
panic = 'abort'
|
panic = 'abort'
|
||||||
opt-level = 0
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|||||||
Reference in New Issue
Block a user