From c765eca1fbbfde6165d5ed5e56276878b3496c77 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 23 Jul 2026 09:51:20 +0200 Subject: use FCMP branch, bump simplybs, rebase patches --- ...ple-ios-rust-target-when-building-for-iOS.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 patches/monero/0022-fix-use-apple-ios-rust-target-when-building-for-iOS.patch (limited to 'patches/monero/0022-fix-use-apple-ios-rust-target-when-building-for-iOS.patch') diff --git a/patches/monero/0022-fix-use-apple-ios-rust-target-when-building-for-iOS.patch b/patches/monero/0022-fix-use-apple-ios-rust-target-when-building-for-iOS.patch new file mode 100644 index 0000000..4f117eb --- /dev/null +++ b/patches/monero/0022-fix-use-apple-ios-rust-target-when-building-for-iOS.patch @@ -0,0 +1,33 @@ +From cce457ba4807db3f0bb3b06dc512131fe0084b5d Mon Sep 17 00:00:00 2001 +From: Czarek Nakamoto +Date: Mon, 27 Jul 2026 14:15:44 +0200 +Subject: [PATCH 22/22] fix: use correct rust target for iOS device and simulator + +--- + src/fcmp_pp/fcmp_pp_rust/CMakeLists.txt | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +diff --git a/src/fcmp_pp/fcmp_pp_rust/CMakeLists.txt b/src/fcmp_pp/fcmp_pp_rust/CMakeLists.txt +index 3e2229f07..f157bc12f 100644 +--- a/src/fcmp_pp/fcmp_pp_rust/CMakeLists.txt ++++ b/src/fcmp_pp/fcmp_pp_rust/CMakeLists.txt +@@ -44,7 +44,15 @@ if(MINGW) + set(RUST_PLATFORM "pc-windows") + set(RUST_TOOLCHAIN "-gnu") + elseif(APPLE) +- set(RUST_PLATFORM "apple-darwin") ++ if(CMAKE_SYSTEM_NAME STREQUAL "iOS") ++ if(CMAKE_OSX_SYSROOT MATCHES "i[pP]hone[sS]imulator") ++ set(RUST_PLATFORM "apple-ios-sim") ++ else() ++ set(RUST_PLATFORM "apple-ios") ++ endif() ++ else() ++ set(RUST_PLATFORM "apple-darwin") ++ endif() + set(RUST_TOOLCHAIN "") + elseif(FREEBSD) + set(RUST_PLATFORM "unknown-freebsd") +-- +2.54.0 (Apple Git-157) + -- cgit v1.2.3