-
Notifications
You must be signed in to change notification settings - Fork 289
/
x.toml
171 lines (138 loc) · 4.11 KB
/
x.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[grcov.installer]
version = "0.8.11"
[system-tests]
transaction-builder-generator = { path = "vm/transaction-builder-generator" }
testsuite = { path = "testsuite" }
benchmarks = { path = "benchmarks" }
[cargo]
toolchain = "nightly"
flags = "-Zfeatures=all"
[cargo.sccache]
bucket = "ci-artifacts.starcoin.org"
prefix = "sccache/starcoin/"
public = true
region = "us-west-2"
endpoint = "https://s3-us-west-2.amazonaws.com"
required-cargo-home = "/opt/cargo"
required-git-home = "/opt/git/starcoin"
envs = [
#To debug sccache uncomment the two lines below.
#["SCCACHE_ERROR_LOG","/tmp/sccache_log"],
#["SCCACHE_LOG", "sccache::compiler::compiler=trace,rusoto_core::request=trace"],
]
[cargo.sccache.installer]
version = "0.2.14-alpha.0"
git = "https://github.com/rexhoffman/sccache.git"
git-rev = "549babdd3866aa60dae01668c42ee00bf1e8c763"
features = [ "s3" ]
[fix]
[clippy]
allowed = [
# Deriving Arbitrary often causes this warning to show up.
"clippy::unit_arg",
# Known to have false positive at the moment,
"clippy::mutable_key_type",
"clippy::eval-order-dependence",
"clippy::new-without-default",
]
warn = [
"clippy::wildcard_dependencies",
]
[hakari]
resolver = "2"
# temp hack to work around on hakari. We need to revisit the hakari part.
hakari-package = "starcoin-x"
#exact-versions = true
platforms = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
# Ideally we'd have powerpc-unknown-linux-gnu here as well, but unification causes openssl-sys to be included,
# and openssl can't be cross-compiled without extra work. This may need to be fixed in hakari through being able
# to say "consider only these packages for these target platforms".
[hakari.traversal-excludes]
workspace-members = [
# Also exclude the devtools packages since they get compiled with a different set of options.
# "starcoin-x",
]
[hakari.final-excludes]
third-party = [
# Exclude the fail crate because the failpoints feature should only be enabled
# for certain builds.
{ name = "fail" },
]
# This follows the same syntax as CargoOptionsSummary in guppy.
[summaries.default]
resolver = "2"
include-dev = false
initials-platform = "standard"
[summaries.default.target-platform]
triple = "x86_64-unknown-linux-gnu"
target-features = "all"
[summaries.default.host-platform]
triple = "x86_64-unknown-linux-gnu"
target-features = "all"
[summaries.full]
version = "v2"
include-dev = true
initials-platform = "standard"
# Don't set target or host platforms, or omitted packages, for the full set.
[workspace]
# Regex for allowed characters in paths. Regex must have ^ and $ anchors.
allowed-paths = "^([a-zA-Z0-9._\\-/@:]|-)+$"
whitespace-exceptions = [
".github/actions/*/dist/*",
"**/*.exp",
"**/*.errmap",
]
[workspace.enforced-attributes]
authors = ["Starcoin Core Dev <[email protected]>"]
license = "Apache-2.0"
[workspace.banned-deps.direct]
lazy_static = "use once_cell::sync::Lazy instead"
[workspace.banned-deps.default-build]
criterion = "criterion is only for benchmarks"
proptest = "proptest is only for testing and fuzzing"
[workspace.direct-dep-dups]
allow = [
]
[workspace.overlay]
features = ["fuzzing"]
[workspace.test-only]
members = [
"common/proptest-helpers",
# "devtools/x",
]
[workspace.move-to-diem-deps]
diem_crates_in_language = [
]
exclude = [
]
# This is a list of existing move to diem dependencies that we plan to eliminate over time.
# You should refrain from adding new entries to this list in general.
existing_deps = [
]
# Interesting subsets of the workspace, These are used for generating and
# checking dependency summaries.
[subsets.lsr]
# The Starcoin safety rules TCB.
root-members = [
]
[subsets.lec]
# The Starcoin execution correctness TCB.
root-members = [
]
[subsets.release]
# The Starcoin release binaries
root-members = [
]
# ---
# Determinator rules
# ---
[[determinator.path-rule]]
globs = [".github/**/*", ".circleci/**/*", "devtools/**/*", "codecov.yml"]
mark-changed = "all"
# Core devtools files.
[[determinator.path-rule]]
globs = ["cargo-toolchain", "cargo-flags", "scripts/dev_setup.sh", "scripts/dev_setup.ps1", "x.toml"]
mark-changed = "all"