]>
Commit | Line | Data |
---|---|---|
3c0e092e XL |
1 | # needs-llvm-components: x86 arm |
2 | ||
f2b60f7d | 3 | include ../tools.mk |
7453a54e SL |
4 | |
5 | all: default | |
ff7c6d11 XL |
6 | $(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) windows |
7 | $(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) x86_64 | |
8 | $(RUSTC) --target i686-pc-windows-msvc --print cfg | $(CGREP) msvc | |
9 | $(RUSTC) --target i686-apple-darwin --print cfg | $(CGREP) macos | |
10 | $(RUSTC) --target i686-unknown-linux-gnu --print cfg | $(CGREP) gnu | |
136023e0 XL |
11 | $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) target_abi= |
12 | $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) eabihf | |
7453a54e SL |
13 | |
14 | ifdef IS_WINDOWS | |
15 | default: | |
ff7c6d11 | 16 | $(RUSTC) --print cfg | $(CGREP) windows |
7453a54e SL |
17 | else |
18 | default: | |
ff7c6d11 | 19 | $(RUSTC) --print cfg | $(CGREP) unix |
7453a54e | 20 | endif |