-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
69 lines (62 loc) · 1.04 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[workspace]
resolver = "2"
members = ["crates/*"]
default-members = ["crates/*"]
#
# Release
#
[profile.release]
opt-level = 3
debug = 1
debug-assertions = false
overflow-checks = false
lto = "fat"
panic = "unwind"
incremental = false
codegen-units = 1
rpath = false
strip = "none"
[profile.release.package."*"]
opt-level = 3
debug = 0
debug-assertions = false
overflow-checks = false
incremental = false
codegen-units = 1
strip = "symbols"
#
# Profiling
#
[profile.profile]
inherits = "release"
debug = 2
strip = "none"
[profile.profile.package."*"]
inherits = "release"
debug = 2
strip = "none"
#
# Debug
#
[profile.dev]
opt-level = 0
debug = 2
debug-assertions = false
overflow-checks = true
lto = "off"
incremental = true
codegen-units = 2048
# [profile.dev.package."*"]
# opt-level = 2
# debug = 2
# debug-assertions = true
# overflow-checks = true
# incremental = true
# codegen-units = 2048
# [profile.dev.package.adler2]
# opt-level = 2
# debug = 2
# debug-assertions = true
# overflow-checks = false
# incremental = true
# codegen-units = 2048