@@ -72,17 +72,20 @@ rust_toolchain(
7272 "rust//constraints:library" : None ,
7373 "rust//constraints:library-build-script" : "rust//stage0:sysroot" ,
7474 "rust//constraints:compiler" : select ({
75- "rust//constraints:stage1" : dict (
76- alloc = "rust//stage1:alloc" ,
77- compiler_builtins = "rust//stage1:compiler_builtins" ,
78- core = "rust//stage1:core" ,
79- panic_abort = "rust//stage1:panic_abort" ,
80- panic_unwind = "rust//stage1:panic_unwind" ,
81- proc_macro = "rust//stage1:proc_macro" ,
82- rust_allocator = "rust//stage1:rust_allocator" ,
83- std = "rust//stage1:std" ,
84- test = "rust//stage1:test" ,
85- ),
75+ "rust//constraints:stage1" : select ({
76+ "rust//constraints:build-script=true" : "rust//stage0:sysroot" ,
77+ "rust//constraints:build-script=false" : dict (
78+ alloc = "rust//stage1:alloc" ,
79+ compiler_builtins = "rust//stage1:compiler_builtins" ,
80+ core = "rust//stage1:core" ,
81+ panic_abort = "rust//stage1:panic_abort" ,
82+ panic_unwind = "rust//stage1:panic_unwind" ,
83+ proc_macro = "rust//stage1:proc_macro" ,
84+ rust_allocator = "rust//stage1:rust_allocator" ,
85+ std = "rust//stage1:std" ,
86+ test = "rust//stage1:test" ,
87+ ),
88+ }),
8689 "rust//constraints:stage2" : dict (
8790 alloc = "rust//stage2:alloc" ,
8891 compiler_builtins = "rust//stage2:compiler_builtins" ,
0 commit comments