mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
e6b9bb7b72
This adds the `only-apple`/`ignore-apple` compiletest directive, and uses that basically everywhere instead of `only-macos`/`ignore-macos`. Some of the updates in `run-make` are a bit redundant, as they use `ignore-cross-compile` and won't run on iOS - but using Apple in these is still more correct, so I've made that change anyhow.
13 lines
320 B
Makefile
13 lines
320 B
Makefile
include ../tools.mk
|
|
|
|
# ignore-windows
|
|
# ignore-apple
|
|
#
|
|
# This feature only works when the output object format is ELF so we ignore
|
|
# Apple and Windows
|
|
|
|
# check that the .stack_sizes section is generated
|
|
all:
|
|
$(RUSTC) -C opt-level=3 -Z emit-stack-sizes --emit=obj foo.rs
|
|
size -A $(TMPDIR)/foo.o | $(CGREP) .stack_sizes
|