blob: 385d1c41d2c32139e56a525e6f5b260fa1c117f2 (
plain)
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
|
[alias]
lint = "clippy --no-deps -- -D warnings"
lint-all = "clippy --no-deps -- -D clippy::pedantic"
[unstable]
gc = true
# Cranelift backend
#
# codegen-backend = true
#
# [profile]
# incremental = true
#
# [profile.dev]
# codegen-backend = "cranelift"
# debug = "line-tables-only"
#
# [profile.dev.package.'*']
# codegen-backend = "llvm"
#
# [profile.test.package."*"]
# codegen-backend = "llvm"
#
# [profile.release]
# codegen-backend = "llvm"
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
[build]
rustflags = [
"-Z", "threads=0",
"-Z", "share-generics=y"
]
|