forked from gear-tech/gear
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (58 loc) · 1.36 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"
default-members = ["node/cli"]
members = [
"common",
"common/codegen",
"core",
"core-backend/common",
"core-backend/sandbox",
"core-backend/wasmi",
"core-processor",
"core-errors",
"examples/binaries/*",
"galloc",
"gclient",
"gcore",
"gear-test",
"gstd",
"gtest",
"node/cli",
"node/service",
"node/authorship",
"pallets/*",
"program",
"runtime/gear",
"runtime/vara",
"utils/gear-runtime-test-cli",
"utils/regression-analysis",
"utils/junit-common",
"utils/wasm-proc",
"utils/wasm-builder",
"utils/wasm-info",
"utils/economic-checks",
"utils/economic-checks/fuzz",
"utils/wasm-gen",
"utils/node-loader/",
"utils/test-runtime",
"utils/test-runtime/client",
]
[profile.release]
panic = "unwind"
[profile.release.package.gcore]
opt-level = "s"
[profile.release.package.gstd]
opt-level = "s"
[profile.release.package.gear-test]
opt-level = "s"
[profile.release.package.galloc]
opt-level = "s"
[profile.release.package.gtest]
opt-level = "s"
[profile.production]
inherits = "release"
# Sacrifice compile speed for execution speed by using optimization flags:
# https://doc.rust-lang.org/rustc/linker-plugin-lto.html
lto = "fat"
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
codegen-units = 1