From d6af354776074971e28477ca5f7ec9e6bf1be2e3 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 25 Nov 2023 12:55:56 +0100 Subject: [PATCH] feat: with nested mold Signed-off-by: kjuulh --- crates/dagger-rust/src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/dagger-rust/src/build.rs b/crates/dagger-rust/src/build.rs index 20717d2..6ed80b3 100644 --- a/crates/dagger-rust/src/build.rs +++ b/crates/dagger-rust/src/build.rs @@ -46,7 +46,7 @@ impl RustBuild { .with_exec(vec!["apt", "update"]) .with_exec(vec!["wget", "https://github.com/rui314/mold/releases/latest/download/mold-2.3.3-x86_64-linux.tar.gz"]) .with_exec("tar -xvf mold-2.3.3-x86_64-linux.tar.gz".split_whitespace().collect()) - .with_exec("mv mold-2.3.3-x86_64-linux /usr/bin/mold".split_whitespace().collect()) + .with_exec("mv mold-2.3.3-x86_64-linux/bin/mold /usr/bin/mold".split_whitespace().collect()) .with_exec(deps); let target_cache = self.client.cache_volume(format!(