We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent add447d commit 2caba12Copy full SHA for 2caba12
Cargo.toml
@@ -44,6 +44,7 @@ textwrap = "0.13"
44
[target.'cfg(target_os = "linux")'.dependencies]
45
which = "4.0"
46
47
+# pprof is not available on windows
48
[target.'cfg(not(windows))'.dependencies]
49
pprof = { version = "0.3", features = ["flamegraph"], optional = true }
50
@@ -64,3 +65,9 @@ members=[
64
65
lto = true
66
opt-level = 'z' # Optimize for size.
67
codegen-units = 1
68
+
69
+# make debug build as fast as release
70
+# usage of utf8 encoding inside tui
71
+# makes their debug profile slow
72
+[profile.dev.package."tui"]
73
+opt-level = 3
0 commit comments