Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Jun 21, 2024
1 parent fc7c695 commit b9d412f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mk/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ llvm_version=18

use_clang=
case $target in
aarch64-apple-visionos)
# export XROS_DEPLOYMENT_TARGET=1.0
export CARGO_TARGET_AARCH64_APPLE_VISIONOS_RUSTFLAGS="-Clink-args=--target=arm64-apple-visionos"
;;
aarch64-apple-watchos)
# export WATCHOS_DEPLOYMENT_TARGET=5.0
export CARGO_TARGET_AARCH64_APPLE_WATCHOS_RUSTFLAGS="-Clink-args=--target=arm64-apple-watchos"
;;
aarch64-linux-android)
export CC_aarch64_linux_android=$android_tools/aarch64-linux-android21-clang
export AR_aarch64_linux_android=$android_tools/llvm-ar
Expand Down

0 comments on commit b9d412f

Please sign in to comment.