Skip to content

Commit f916031

Browse files
committed
Commit custom config.toml
1 parent 09e1daa commit f916031

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Session.vim
3434
!/tests/run-make/thumb-none-qemu/example/.cargo
3535

3636
## Configuration
37-
/config.toml
3837
/Makefile
3938
config.mk
4039
config.stamp

config.toml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
change-id = 118703
2+
3+
[llvm]
4+
# They deleted llvm wtf
5+
download-ci-llvm = false
6+
optimize = true
7+
thin-lto = true
8+
link-shared = false
9+
ninja = true
10+
targets = "X86"
11+
link-jobs = 0
12+
cflags = "-Qunused-arguments -O2 -msse2 /clang:-O3"
13+
cxxflags = "-Qunused-arguments -O2 -msse2 /clang:-O3"
14+
ldflags = "-Wl,-O3 -msse2"
15+
polly = true
16+
clang = true
17+
clang-cl = "C:/Program Files/LLVM/bin/clang-cl.exe"
18+
19+
[build]
20+
build-stage = 2
21+
cargo-native-static = false
22+
# When compiling from source, you usually want all tools.
23+
#extended = true
24+
build = "x86_64-pc-windows-msvc"
25+
target = [
26+
"i686-pc-windows-msvc",
27+
"x86_64-pc-windows-msvc",
28+
]
29+
30+
docs = false
31+
tools = [
32+
"src",
33+
]
34+
35+
[rust]
36+
channel = "dev"
37+
codegen-backends = ["llvm"]
38+
codegen-units = 1
39+
codegen-units-std = 1
40+
debug = false
41+
dist-src = false
42+
download-rustc = false
43+
#jemalloc = true
44+
#lto = "thin"
45+
optimize = 3
46+
strip = true
47+
optimize-tests = true
48+
thin-lto-import-instr-limit = 100
49+
validate-mir-opts = 3
50+
use-lld = "self-contained"
51+
52+
[dist]
53+
src-tarball = false
54+
compression-profile = "best"
55+
56+
# for creating a downloadable package: python x.py install, then create an archive this
57+
[install]
58+
prefix = "../dist/rust"
59+
sysconfdir = "."

0 commit comments

Comments
 (0)