From f26476d4a55bde4b6a45a81e5a8ad838cb3dced0 Mon Sep 17 00:00:00 2001 From: Sergei Voronezhskii Date: Tue, 25 Jul 2023 12:00:32 +0300 Subject: [PATCH] SDK-4793 fix build rust --- packages/lib-react-native/android/build/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib-react-native/android/build/src/main.rs b/packages/lib-react-native/android/build/src/main.rs index 13772176..638f2e4d 100644 --- a/packages/lib-react-native/android/build/src/main.rs +++ b/packages/lib-react-native/android/build/src/main.rs @@ -63,7 +63,7 @@ fn main() { &builder.lib_dir.join("NDK").join(arch.ndk).join("bin"), )); std::env::set_var("PATH", path); - assert!(exec("cargo", &["build", "--target", arch.target, "--release"]).success()); + assert!(exec("cargo", &["+1.65.0-x86_64-apple-darwin", "build", "--target", arch.target, "--release"]).success()); } let out_dir = builder.package_dir.join("src/main/jniLibs");