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)