]> git.proxmox.com Git - rustc.git/blame - tests/run-make-fulldeps/print-cfg/Makefile
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / run-make-fulldeps / print-cfg / Makefile
CommitLineData
3c0e092e
XL
1# needs-llvm-components: x86 arm
2
f2b60f7d 3include ../tools.mk
7453a54e
SL
4
5all: 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
14ifdef IS_WINDOWS
15default:
ff7c6d11 16 $(RUSTC) --print cfg | $(CGREP) windows
7453a54e
SL
17else
18default:
ff7c6d11 19 $(RUSTC) --print cfg | $(CGREP) unix
7453a54e 20endif