Skip to content

Commit

Permalink
Pass target to run-make issue-47551
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Jun 14, 2024
1 parent f9515fd commit f3dd4b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run-make/issue-47551/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
include ../tools.mk

all:
$(RUSTC) eh_frame-terminator.rs
# --target $(TARGET) ensures the right gcc flags are used for cross compilation
$(RUSTC) --target $(TARGET) eh_frame-terminator.rs
$(call RUN,eh_frame-terminator) | $(CGREP) '1122334455667788'
objdump --dwarf=frames $(TMPDIR)/eh_frame-terminator | $(CGREP) 'ZERO terminator'

0 comments on commit f3dd4b1

Please sign in to comment.