Skip to content

Commit bfe9304

Browse files
committed
Merge branch 'tim/vendor_android_only' into 'master'
hack: Temporarily disable vendoring on iOS, until downstream fixes See merge request TankerHQ/sdk-rust!155
2 parents f5594cb + c1e8780 commit bfe9304

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ fn main() -> Result<(), Box<dyn Error>> {
5959
if target_family != "windows" {
6060
println!("cargo:rustc-link-search={}", bindings_folder);
6161
println!("cargo:rustc-link-lib=static=ctanker");
62+
// FIXME: Re-enable vendoring on iOS after downstream fixes
6263
if !cfg!(feature = "without_vendored_libcxx")
63-
&& (target_triplet.contains("-linux-android") || target_triplet.contains("-apple-ios"))
64+
&& (target_triplet.contains("-linux-android")/* || target_triplet.contains("-apple-ios") */)
6465
{
6566
println!("cargo:rustc-link-lib=static=cxx_vendored")
6667
}

0 commit comments

Comments
 (0)