mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
4851d5663c
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
9 lines
222 B
Makefile
9 lines
222 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all: foo.rs
|
|
$(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs
|
|
$(RUSTDOC) --test --cfg 'feature="bar"' \
|
|
-L $(TMPDIR) foo.rs |\
|
|
$(CGREP) 'foo.rs - foo (line 1) ... ok'
|