fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
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