From 96c33da7e65605122c3b9337c03250602d084206 Mon Sep 17 00:00:00 2001 From: Shan Desai Date: Wed, 23 Jun 2021 23:32:40 +0200 Subject: [PATCH] adapt changes to linker based on - https://github.com/rust-lang/rust/issues/46651#issuecomment-433611633 - https://github.com/deislabs/krustlet/issues/466#issue-771417312 --- .cargo/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.cargo/config b/.cargo/config index 8d0419462f..817b78bf79 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,3 +1,3 @@ -[target.x86_64-unknown-linux-musl] -linker = "x86_64-linux-musl-gcc" -rustflags = ["-Ctarget-feature=+crt-static"] +[target.aarch64-unknown-linux-musl] +linker = "aarch64-linux-gnu-gcc" +rustflags = [ "-C", "target-feature=+crt-static"]