In Cargo.toml, the opt-level for `release` and `bench` was overridden to be 2. This was to work around a problem with LLVM 7. However, rust no longer uses LLVM 7, so this is no longer needed. This creates a small compile time regression in MIR constant eval, so I've added a #[inline(always)] on the `step` function used in const eval Also creates a binary size increase in wasm-stringify-ints-small, so I've bumped the limit there.
10 lines
239 B
Makefile
10 lines
239 B
Makefile
-include ../../run-make-fulldeps/tools.mk
|
|
|
|
ifeq ($(TARGET),wasm32-unknown-unknown)
|
|
all:
|
|
$(RUSTC) foo.rs -C lto -O --target wasm32-unknown-unknown
|
|
wc -c < $(TMPDIR)/foo.wasm
|
|
[ "`wc -c < $(TMPDIR)/foo.wasm`" -lt "25000" ]
|
|
else
|
|
all:
|
|
endif
|