mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
88966c4773
To reduce duplication. A follow-up commit will begin using it in even more places.
8 lines
432 B
Makefile
8 lines
432 B
Makefile
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) --emit=metadata,dep-info --crate-type lib dash-separated.rs -C extra-filename=_something-extra
|
|
# Strip TMPDIR since it is a machine specific absolute path
|
|
sed "s%.*[/\\]%%" "$(TMPDIR)"/dash-separated_something-extra.d > "$(TMPDIR)"/dash-separated_something-extra.normalized.d
|
|
$(RUSTC_TEST_OP) "$(TMPDIR)"/dash-separated_something-extra.normalized.d dash-separated_something-extra.normalized.d
|