fix cargo config related to aarch64 target
We actually want to apply the settings whenever
we use any aarch64 target (not only musl one).
[build]
target = "x86_64-unknown-linux-musl"
-[target.aarch64-unknown-linux-musl]
+[target.'cfg(any(target_arch="arm", target_arch="aarch64"))']
# On aarch64 musl depends on some libgcc functions (i.e `__addtf3` and other `*tf3` functions) for logic that uses
# long double. Such functions are not builtin in the rust compiler, so we need to get them from libgcc.
# No need for the `crt_static` flag as rustc appends it by default.
-linker = "aarch64-linux-gnu-gcc"
rustflags = [
"-C", "link-arg=-lgcc",
"-C", "link-arg=-lfdt",
