add support for aarch64 musl builds

This commit is contained in:
core 2023-03-30 23:08:55 -04:00
parent 5f6c596a12
commit 9a5ffcd622
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "tfclient" name = "tfclient"
version = "0.1.4" version = "0.1.5"
edition = "2021" edition = "2021"
description = "An open-source reimplementation of a Defined Networking-compatible client" description = "An open-source reimplementation of a Defined Networking-compatible client"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
@ -39,4 +39,4 @@ flate2 = "1.0.25"
tar = "0.4.38" tar = "0.4.38"
hex = "0.4.3" hex = "0.4.3"
tempfile = "3.4.0" tempfile = "3.4.0"
sha2 = "0.10.6" sha2 = "0.10.6"

View File

@ -69,7 +69,7 @@ fn main() {
"armv5te-unknown-linux-gnueabi" => "nebula-linux-arm-5", "armv5te-unknown-linux-gnueabi" => "nebula-linux-arm-5",
"arm-unknown-linux-gnueabi" | "arm-unknown-linux-gnueabihf" => "nebula-linux-arm-6", "arm-unknown-linux-gnueabi" | "arm-unknown-linux-gnueabihf" => "nebula-linux-arm-6",
"armv7-unknown-linux-gnueabihf" | "armv7-unknown-linux-gnueabi" => "nebula-linux-arm-7", "armv7-unknown-linux-gnueabihf" | "armv7-unknown-linux-gnueabi" => "nebula-linux-arm-7",
"aarch64-unknown-linux-gnu" => "nebula-linux-arm64", "aarch64-unknown-linux-gnu" | "aarch64-unknown-linux-musl" => "nebula-linux-arm64",
"x86_64-pc-windows-msvc" => "nebula-windows-amd64", "x86_64-pc-windows-msvc" => "nebula-windows-amd64",
"aarch64-pc-windows-msvc" => "nebula-windows-arm64", "aarch64-pc-windows-msvc" => "nebula-windows-arm64",
_ => { _ => {
@ -175,4 +175,4 @@ fn execim(buf: &[u8], args: &Vec<&str>) -> Output {
let output = Command::new("./tmpexec.bin").args(args).output().unwrap(); let output = Command::new("./tmpexec.bin").args(args).output().unwrap();
remove_file("./tmpexec.bin").unwrap(); remove_file("./tmpexec.bin").unwrap();
output output
} }