Skip to content

Commit e1154a3

Browse files
committed
supplement TARGETPLATFORM with RUST_TOOLCHAIN
this is not strictly needed, but could be nice
1 parent 87852f0 commit e1154a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xtask/src/build_docker_image.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@ pub fn build_docker_image(
189189
docker_build.arg("--load");
190190
}
191191

192+
docker_build.args(&[
193+
"--build-arg",
194+
&format!("RUST_TOOLCHAIN={}", platform.target),
195+
]);
196+
192197
let mut tags = vec![];
193198

194199
match (ref_type.as_deref(), ref_name.as_deref()) {

0 commit comments

Comments
 (0)