From cce1cc6c209b7b41ad4b481da28d5d42dee84c06 Mon Sep 17 00:00:00 2001 From: Lee Smet Date: Tue, 27 Feb 2024 14:52:30 +0100 Subject: [PATCH] Remove linker entries from .cargo/config.toml These were previously added for aarch64-linux cross compilation. However, this also interferes with regular compilation on these platforms, since the linkers generally don't include the target triplet in their name if they are for the native platform. Additionally, the `ar` field is deprecated. Fixes #132 Signed-off-by: Lee Smet --- .cargo/config.toml | 7 ------- CHANGELOG.md | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index d485209..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,7 +0,0 @@ -[target.aarch64-unknown-linux-gnu] -linker = "aarch64-linux-gnu-gcc" -ar = "aarch64-linux-gnu-ar" - -[target.aarch64-unknown-linux-musl] -linker = "aarch64-linux-musl-cc" -ar = "aarch64-linux-musl-ar" diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a18b2..fbe179f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The tokio_unstable config flag is no longer used when building. +### Removed + +- .cargo/config.toml aarch64-linux target specific entries. Cross compilation for + these platforms can use `cross` or entries in the global .cargo/config.toml of + the developer instead. + ## [0.4.0] - 2024-02-22 ### Added