2024-05-08 21:52:59 +08:00
|
|
|
[target.x86_64-unknown-linux-musl]
|
|
|
|
linker = "rust-lld"
|
|
|
|
rustflags = ["-C", "linker-flavor=ld.lld"]
|
|
|
|
|
2023-09-23 09:53:45 +08:00
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
|
|
linker = "aarch64-linux-gnu-gcc"
|
2024-05-08 21:52:59 +08:00
|
|
|
|
2024-02-06 16:19:42 +08:00
|
|
|
[target.aarch64-unknown-linux-musl]
|
|
|
|
linker = "aarch64-linux-musl-gcc"
|
|
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
2024-05-08 21:52:59 +08:00
|
|
|
|
2024-02-03 00:20:05 +08:00
|
|
|
[target.'cfg(all(windows, target_env = "msvc"))']
|
|
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
2024-05-03 07:55:00 +08:00
|
|
|
|
|
|
|
[target.mipsel-unknown-linux-musl]
|
|
|
|
linker = "mipsel-linux-muslsf-gcc"
|
2024-06-03 23:07:44 +08:00
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=+crt-static",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/mipsel-linux-muslsf-cross/mipsel-linux-muslsf/lib",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/mipsel-linux-muslsf-cross/lib/gcc/mipsel-linux-muslsf/11.2.1",
|
|
|
|
"-l",
|
|
|
|
"atomic",
|
|
|
|
"-l",
|
|
|
|
"ctz",
|
|
|
|
]
|
2024-05-03 07:55:00 +08:00
|
|
|
|
|
|
|
[target.mips-unknown-linux-musl]
|
|
|
|
linker = "mips-linux-muslsf-gcc"
|
2024-06-03 23:07:44 +08:00
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=+crt-static",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/mips-linux-muslsf-cross/mips-linux-muslsf/lib",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/mips-linux-muslsf-cross/lib/gcc/mips-linux-muslsf/11.2.1",
|
|
|
|
"-l",
|
|
|
|
"atomic",
|
|
|
|
"-l",
|
|
|
|
"ctz",
|
|
|
|
]
|
|
|
|
|
|
|
|
[target.armv7-unknown-linux-musleabihf]
|
|
|
|
linker = "armv7l-linux-musleabihf-gcc"
|
|
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
|
|
|
|
[target.armv7-unknown-linux-musleabi]
|
|
|
|
linker = "armv7m-linux-musleabi-gcc"
|
|
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
|
|
|
|
[target.arm-unknown-linux-musleabihf]
|
|
|
|
linker = "arm-linux-musleabihf-gcc"
|
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=+crt-static",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/arm-linux-musleabihf-cross/arm-linux-musleabihf/lib",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/arm-linux-musleabihf-cross/lib/gcc/arm-linux-musleabihf/11.2.1",
|
|
|
|
"-l",
|
|
|
|
"atomic",
|
|
|
|
]
|
|
|
|
|
|
|
|
[target.arm-unknown-linux-musleabi]
|
|
|
|
linker = "arm-linux-musleabi-gcc"
|
|
|
|
rustflags = [
|
|
|
|
"-C",
|
|
|
|
"target-feature=+crt-static",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/arm-linux-musleabi-cross/arm-linux-musleabi/lib",
|
|
|
|
"-L",
|
|
|
|
"./musl_gcc/arm-linux-musleabi-cross/lib/gcc/arm-linux-musleabi/11.2.1",
|
|
|
|
"-l",
|
|
|
|
"atomic",
|
|
|
|
]
|