a6f7596fb9
When building with LTO, builtin functions that are defined but whose calls have not been inserted yet, get internalized. We need to prevent these symbols from being internalized at LTO time. Refer to https://reviews.llvm.org/D49434.
8 lines
195 B
Makefile
8 lines
195 B
Makefile
include ../tools.mk
|
|
|
|
# only-wasm32-bare
|
|
|
|
all:
|
|
$(RUSTC) main.rs -C overflow-checks=yes -C panic=abort -C lto -C opt-level=z --target wasm32-unknown-unknown
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|