@@ -36,10 +36,8 @@ rust_toolchain(
3636 compiler = select ({
3737 "rust//constraints:stage1" : "rust//stage0:rustc" ,
3838 "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" ,
4341 "rust//constraints:compiler" : "rust//stage1:rustc" ,
4442 }),
4543 }),
@@ -71,10 +69,8 @@ rust_toolchain(
7169 "rust//constraints:stage2" : "rust//stage1:rustdoc" ,
7270 }),
7371 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" ,
7874 "rust//constraints:compiler" : select ({
7975 "rust//constraints:stage1" : dict (
8076 alloc = "rust//stage1:alloc" ,
0 commit comments