mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 11:42:27 +08:00
df17a7bb68
* use correct i18n hook * fix peer rpc panic make sure server use correct transact id * fix dhcp recreate tun device after ip changed * use upx correctly * compile arm & armv7 * prepare to release v1.1.0
78 lines
1.9 KiB
TOML
78 lines
1.9 KiB
TOML
[target.x86_64-unknown-linux-musl]
|
|
linker = "rust-lld"
|
|
rustflags = ["-C", "linker-flavor=ld.lld"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "aarch64-linux-gnu-gcc"
|
|
|
|
[target.aarch64-unknown-linux-musl]
|
|
linker = "aarch64-linux-musl-gcc"
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.'cfg(all(windows, target_env = "msvc"))']
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.mipsel-unknown-linux-musl]
|
|
linker = "mipsel-linux-muslsf-gcc"
|
|
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",
|
|
]
|
|
|
|
[target.mips-unknown-linux-musl]
|
|
linker = "mips-linux-muslsf-gcc"
|
|
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",
|
|
]
|