diff --git a/tfclient/Cargo.toml b/tfclient/Cargo.toml index 41c66ad..43b12fc 100644 --- a/tfclient/Cargo.toml +++ b/tfclient/Cargo.toml @@ -47,4 +47,12 @@ maintainer = "c0repwn3r " copyright = "e3team " license-file = "LICENSE.txt" maintainer-scripts = "debian/" -systemd-units = { enable = false, unit-name = "tfclient@" } \ No newline at end of file +systemd-units = { enable = false, unit-name = "tfclient@" } + +# Cross config +[target.aarch64-unknown-linux-musl] +pre-build = [ + "wget https://go.dev/dl/go1.20.5.linux-arm64.tar.gz -O /go.tar.gz", + "tar -C /usr/local -xzf /go.tar.gz", + "echo \"export PATH=$PATH:/usr/local/go/bin\" >> /etc/profile" +]