Skip to content

Commit

Permalink
Merge branch 'tim/vendor_android_only' into 'master'
Browse files Browse the repository at this point in the history
hack: Temporarily disable vendoring on iOS, until downstream fixes

See merge request TankerHQ/sdk-rust!155
  • Loading branch information
tux3 committed Nov 28, 2022
2 parents f5594cb + c1e8780 commit bfe9304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ fn main() -> Result<(), Box<dyn Error>> {
if target_family != "windows" {
println!("cargo:rustc-link-search={}", bindings_folder);
println!("cargo:rustc-link-lib=static=ctanker");
// FIXME: Re-enable vendoring on iOS after downstream fixes
if !cfg!(feature = "without_vendored_libcxx")
&& (target_triplet.contains("-linux-android") || target_triplet.contains("-apple-ios"))
&& (target_triplet.contains("-linux-android")/* || target_triplet.contains("-apple-ios") */)
{
println!("cargo:rustc-link-lib=static=cxx_vendored")
}
Expand Down

0 comments on commit bfe9304

Please sign in to comment.