Skip to content

Commit 5f31eac

Browse files
committed
feat(android): add Rust target to environment setup
1 parent d2827ff commit 5f31eac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cibuildwheel/platforms/android.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ def setup_rust_cross_compile(
397397
env: MutableMapping[str, str],
398398
) -> None:
399399
cargo_target = android_triplet(python_configuration.identifier)
400+
call("rustup", "target", "add", cargo_target)
400401

401402
# CARGO_BUILD_TARGET is the variable used by Cargo and setuptools_rust
402403
if env.get("CARGO_BUILD_TARGET"):

0 commit comments

Comments
 (0)