Compile release with panic=abort.
Unwinding is never utilized, so no reason to compile it in. This saves 3% on the binary size, and should also generate slightly faster code
This commit is contained in:
parent
dc4a136336
commit
804bfa074c
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ version = "0.1.0"
|
||||||
authors = ["Magnus Hoff <maghoff@gmail.com>"]
|
authors = ["Magnus Hoff <maghoff@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
panic = "abort"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
futures-cpupool = "0.1"
|
futures-cpupool = "0.1"
|
||||||
|
|
Loading…
Reference in a new issue