@@ -36,10 +36,8 @@ rust_toolchain(
36
36
compiler = select ({
37
37
"rust//constraints:stage1" : "rust//stage0:rustc" ,
38
38
"rust//constraints:stage2" : select ({
39
- "rust//constraints:library" : select ({
40
- "rust//constraints:build-script=false" : "rust//stage1:rustc" ,
41
- "rust//constraints:build-script=true" : "rust//stage0:rustc" ,
42
- }),
39
+ "rust//constraints:library" : "rust//stage1:rustc" ,
40
+ "rust//constraints:library-build-script" : "rust//stage0:rustc" ,
43
41
"rust//constraints:compiler" : "rust//stage1:rustc" ,
44
42
}),
45
43
}),
@@ -71,10 +69,8 @@ rust_toolchain(
71
69
"rust//constraints:stage2" : "rust//stage1:rustdoc" ,
72
70
}),
73
71
sysroot = select ({
74
- "rust//constraints:library" : select ({
75
- "rust//constraints:build-script=false" : None ,
76
- "rust//constraints:build-script=true" : "rust//stage0:sysroot" ,
77
- }),
72
+ "rust//constraints:library" : None ,
73
+ "rust//constraints:library-build-script" : "rust//stage0:sysroot" ,
78
74
"rust//constraints:compiler" : select ({
79
75
"rust//constraints:stage1" : dict (
80
76
alloc = "rust//stage1:alloc" ,
0 commit comments