fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# ignore-cross-compile 2include ../tools.mk 3 4all: 5 # check that #[cfg_attr(..., ignore)] does the right thing. 6 $(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg 7 $(call RUN,test-ignore-cfg) | $(CGREP) 'shouldnotignore ... ok' 'shouldignore ... ignored' 8 $(call RUN,test-ignore-cfg --quiet) | $(CGREP) -e "^i\.$$" 9 $(call RUN,test-ignore-cfg --quiet) | $(CGREP) -v 'should'