diff --git a/.cargo/config.toml b/.cargo/config.toml index 4311154..fbe5f3b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,3 +2,12 @@ rustdocflags = ["--document-private-items"] # rustflags = "-C target-cpu=native -D warnings" # incremental = true + +[env] +CC_aarch64_unknown_linux_musl = "aarch64-linux-gnu-gcc" + +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" + +[target.aarch64-unknown-linux-musl] +linker = "aarch64-linux-gnu-gcc" diff --git a/dist-workspace.toml b/dist-workspace.toml index 7684357..2bf0d8e 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -20,3 +20,6 @@ include = ["./config", "./USAGE.md", "./LICENSE"] [dist.dependencies.chocolatey] nasm = '*' # Required for building `aws-lc-sys` on Windows + +[dist.dependencies.apt] +gcc-aarch64-linux-gnu = { version = '*', targets = ["aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl"] }