fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
507 B16 linesraw
1-include ../tools.mk
2
3all: default
4	$(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) windows
5	$(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) x86_64
6	$(RUSTC) --target i686-pc-windows-msvc --print cfg | $(CGREP) msvc
7	$(RUSTC) --target i686-apple-darwin --print cfg | $(CGREP) macos
8	$(RUSTC) --target i686-unknown-linux-gnu --print cfg | $(CGREP) gnu
9
10ifdef IS_WINDOWS
11default:
12	$(RUSTC) --print cfg | $(CGREP) windows
13else
14default:
15	$(RUSTC) --print cfg | $(CGREP) unix
16endif