2021-07-04 15:31:33 +00:00
|
|
|
#[build]
|
2021-11-04 08:00:08 +00:00
|
|
|
#target-dir = "./bin"
|
|
|
|
|
|
|
|
[target.x86_64-apple-darwin]
|
2021-11-13 07:20:17 +00:00
|
|
|
rustflags=["-C", "link-arg=-mmacosx-version-min=10.11"]
|
|
|
|
|
|
|
|
[target.aarch64-apple-darwin]
|
2022-09-01 04:27:09 +00:00
|
|
|
rustflags=["-C", "link-arg=-mmacosx-version-min=10.11"]
|
|
|
|
|
|
|
|
[target.aarch64-linux-android]
|
|
|
|
ar = "path-to-ndk/llvm-ar"
|
|
|
|
linker = "path-to-ndk/aarch64-linux-android29-clang"
|
|
|
|
|
|
|
|
[target.armv7-linux-androideabi]
|
|
|
|
ar = "path-to-ndk/llvm-ar"
|
|
|
|
linker = "path-to-ndk/armv7a-linux-androideabi29-clang"
|
|
|
|
|
|
|
|
[target.i686-linux-android]
|
|
|
|
ar = "path-to-ndk/llvm-ar"
|
|
|
|
linker = "path-to-ndk/i686-linux-android29-clang"
|
|
|
|
|
|
|
|
[target.x86_64-linux-android]
|
|
|
|
ar = "path-to-ndk/llvm-ar"
|
|
|
|
linker = "path-to-ndk/x86_64-linux-android29-clang"
|