@@ -113,6 +113,7 @@ auto_platforms = [
113
113
#"mac-64-opt-vg",
114
114
#"mac-all-opt",
115
115
"mac-ios-opt" ,
116
+ "mac-64-opt-rustbuild" ,
116
117
117
118
"linux-32-opt" ,
118
119
#"linux-32-nopt-c",
@@ -123,6 +124,7 @@ auto_platforms = [
123
124
"linux-64-debug-opt" ,
124
125
"linux-musl-64-opt" ,
125
126
"linux-cross-opt" ,
127
+ "linux-64-opt-rustbuild" ,
126
128
127
129
#"linux-64-opt-vg",
128
130
#"linux-all-opt",
@@ -138,6 +140,9 @@ auto_platforms = [
138
140
"win-msvc-32-opt" ,
139
141
"win-msvc-64-opt" ,
140
142
143
+ "win-gnu-32-opt-rustbuild" ,
144
+ "win-msvc-64-opt-rustbuild" ,
145
+
141
146
# Tier 2 platforms, also modify nogate_builders
142
147
"bitrig-64-opt" ,
143
148
"freebsd10_32-1" ,
@@ -183,6 +188,10 @@ nogate_builders = [
183
188
"auto-freebsd10_64-1" ,
184
189
"auto-dragonflybsd-64-opt" ,
185
190
"auto-openbsd-64-opt" ,
191
+ "auto-mac-64-opt-rustbuild" ,
192
+ "auto-linux-64-opt-rustbuild" ,
193
+ "auto-win-gnu-32-opt-rustbuild" ,
194
+ "auto-win-msvc-64-opt-rustbuild" ,
186
195
]
187
196
dist_nogate_platforms = [
188
197
"cross-linux" ,
@@ -759,7 +768,8 @@ class ConfigCommand(object):
759
768
"docs" , "optimize" , "optimize-tests" ,
760
769
"optimize-cxx" , "optimize-llvm" ,
761
770
"debug" , "pax-flags" , "clang" ,
762
- "inject-std-version" , "llvm-static-stdcpp" ]
771
+ "inject-std-version" , "llvm-static-stdcpp" ,
772
+ "rustbuild" ]
763
773
if "cargo" in props :
764
774
s = "./configure --local-rust-root=$PWD/rustc"
765
775
else :
@@ -1526,6 +1536,7 @@ for p in auto_platforms:
1526
1536
opt_tests = True
1527
1537
debug = False
1528
1538
chk = True
1539
+ rustbuild = False
1529
1540
1530
1541
if "-debug" in p :
1531
1542
debug = True
@@ -1559,6 +1570,9 @@ for p in auto_platforms:
1559
1570
targets += ios_targets
1560
1571
if not opt_compiler :
1561
1572
chk = False
1573
+ if "rustbuild" in p :
1574
+ rustbuild = True
1575
+ chk = False
1562
1576
1563
1577
android = False
1564
1578
if "-x-android" in p :
@@ -1587,7 +1601,8 @@ for p in auto_platforms:
1587
1601
"hosts" : auto_platform_host (p ),
1588
1602
"targets" : targets ,
1589
1603
"debug" : debug ,
1590
- "check" : chk },
1604
+ "check" : chk ,
1605
+ "rustbuild" : rustbuild },
1591
1606
factory = make_and_check_buildfactory (chk , android ,
1592
1607
"win" in p , True )))
1593
1608
0 commit comments