()
| 472 | return ['cargo-ndk']; |
| 473 | } |
| 474 | protected getBuildScriptSource(): readonly string[] { |
| 475 | return [ |
| 476 | '#!/usr/bin/env bash', |
| 477 | '', |
| 478 | 'rustup target add aarch64-linux-android', |
| 479 | 'rustup target install x86_64-linux-android', |
| 480 | //'cargo fix --lib -p helios --allow-dirty', |
| 481 | '', |
| 482 | this.getTargets() |
| 483 | .map((target) => `cargo ndk --target ${target} -- build --release`) |
| 484 | .join(' && '), |
| 485 | ]; |
| 486 | } |
| 487 | protected getCrateType(): string { |
| 488 | return 'cdylib'; |
| 489 | } |
nothing calls this directly
no test coverage detected