diff --git a/example/array/.cargo/config.toml b/example/array/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/array/.cargo/config.toml +++ b/example/array/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/arraybuffer/.cargo/config.toml b/example/arraybuffer/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/arraybuffer/.cargo/config.toml +++ b/example/arraybuffer/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/basic/.cargo/config.toml b/example/basic/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/basic/.cargo/config.toml +++ b/example/basic/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/either/.cargo/config.toml b/example/either/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/either/.cargo/config.toml +++ b/example/either/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/external/.cargo/config.toml b/example/external/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/external/.cargo/config.toml +++ b/example/external/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/hello/.cargo/config.toml b/example/hello/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/hello/.cargo/config.toml +++ b/example/hello/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh" diff --git a/example/tokio_rt/.cargo/config.toml b/example/tokio_rt/.cargo/config.toml index bfefd30..f49ae20 100755 --- a/example/tokio_rt/.cargo/config.toml +++ b/example/tokio_rt/.cargo/config.toml @@ -1,11 +1,11 @@ [target.aarch64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/aarch64-unknown-linux-ohos-clang.sh" [target.armv7-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/armv7-unknown-linux-ohos-clang.sh" [target.x86_64-unknown-linux-ohos] -ar = "$OH_SDK_HOME/native/llvm/bin/llvm-ar" +ar = "$OHOS_NDK_HOME/native/llvm/bin/llvm-ar" linker = "scripts/x86_64-unknown-linux-ohos-clang.sh"