From fdb7ee3d67f1b2835f367343b316cf23dafaaefa Mon Sep 17 00:00:00 2001 From: messense Date: Sun, 12 Dec 2021 21:09:49 +0800 Subject: [PATCH] No repair support for cross compiled wheel yet --- src/build_context.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/build_context.rs b/src/build_context.rs index b58f9c6ae..bb1739a6e 100644 --- a/src/build_context.rs +++ b/src/build_context.rs @@ -266,7 +266,8 @@ impl BuildContext { "Error checking for manylinux/musllinux compliance".to_string() } })?; - let external_libs = if should_repair && !self.editable { + // TODO: support repair for cross compiled wheels + let external_libs = if should_repair && !self.editable && !self.target.cross_compiling() { get_external_libs(&artifact, &policy).with_context(|| { if let Some(platform_tag) = platform_tag { format!("Error repairing wheel for {} compliance", platform_tag)