1macro_rules! bin {
2 ($bin:expr) => {
3 if cfg!(target_os = "windows") {
4 concat!($bin, ".exe")
5 } else {
6 $bin
7 }
8 };
9}
10
11macro_rules! bat {
12 ($bat:expr) => {
13 if cfg!(target_os = "windows") {
14 concat!($bat, ".bat")
15 } else {
16 $bat
17 }
18 };
19}
20
21macro_rules! cmd {
22 ($cmd:expr) => {
23 if cfg!(target_os = "windows") {
24 concat!($cmd, ".cmd")
25 } else {
26 $cmd
27 }
28 };
29}
30
31pub mod apk;
32pub mod cargo;
33pub mod dylibs;
34pub mod error;
35pub mod manifest;
36pub mod ndk;
37pub mod readelf;
38pub mod target;