]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/print-cfg/Makefile
Rollup merge of #100959 - LuisCardosoOliveira:translation-rename-attr-warning, r...
[rust.git] / src / test / run-make-fulldeps / print-cfg / Makefile
1 # needs-llvm-components: x86 arm
2
3 include ../tools.mk
4
5 all: default
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
11         $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) target_abi=
12         $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) eabihf
13
14 ifdef IS_WINDOWS
15 default:
16         $(RUSTC) --print cfg | $(CGREP) windows
17 else
18 default:
19         $(RUSTC) --print cfg | $(CGREP) unix
20 endif