2014-08-09 09:59:47 +02:00
|
|
|
-include ../tools.mk
|
|
|
|
|
|
|
|
all:
|
2015-07-31 00:04:06 -07:00
|
|
|
$(RUSTC) -o $(TMPDIR)/foo.out -Z unstable-options --unpretty hir=foo input.rs
|
|
|
|
$(RUSTC) -o $(TMPDIR)/nest_foo.out -Z unstable-options --unpretty hir=nest::foo input.rs
|
|
|
|
$(RUSTC) -o $(TMPDIR)/foo_method.out -Z unstable-options --unpretty hir=foo_method input.rs
|
2014-08-09 09:59:47 +02:00
|
|
|
diff -u $(TMPDIR)/foo.out foo.pp
|
|
|
|
diff -u $(TMPDIR)/nest_foo.out nest_foo.pp
|
|
|
|
diff -u $(TMPDIR)/foo_method.out foo_method.pp
|