fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
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