You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn ios(){// vcpkg::find_package("icu").unwrap(); // this would build the whole rust lib but the compilation for iOS using xcode would fail due to missing symbolsprintln!("cargo:rustc-link-search=native=path/to/vcpkg/installed/arm64-ios-simulator/lib");println!("cargo:rustc-link-lib=static=icuuc");println!("cargo:rustc-link-lib=static=icui18n");println!("cargo:rustc-link-lib=static=icudata");
only adding static= to the lib being linked can fix
only adding
static=
to the lib being linked can fixhttps://doc.rust-lang.org/cargo/reference/build-scripts.html#:~:text=other%20linker%20options.-,cargo%3A%3Arustc%2Dlink%2Dlib%3DLIB,%2C%20or%20framework.%20See%20the%20rustc%20book%20for%20more%20detail.,-cargo%3A%3Arustc%2Dlink
Is there a way to specify this kind?
The text was updated successfully, but these errors were encountered: