Skip to content

Commit

Permalink
No repair support for cross compiled wheel yet
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 12, 2021
1 parent 0487d5f commit fdb7ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fdb7ee3

Please sign in to comment.