diff options
| author | Gregor Peach <gregorpeach@gmail.com> | 2020-01-04 15:40:36 -0800 |
|---|---|---|
| committer | Gregor Peach <gregorpeach@gmail.com> | 2020-01-30 15:40:14 -0500 |
| commit | 0d52c562db18e85cf53078c9ddb40abe469a4aab (patch) | |
| tree | 69a70c7774210ef35f7954299ea921aeb0329a54 /src/test | |
| parent | 760ce94c69ca510d44087291c311296f6d9ccdf5 (diff) | |
| download | rust-0d52c562db18e85cf53078c9ddb40abe469a4aab.tar.gz rust-0d52c562db18e85cf53078c9ddb40abe469a4aab.zip | |
Change opt-level from 2 back to 3
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.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-make/wasm-stringify-ints-small/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/wasm-stringify-ints-small/Makefile b/src/test/run-make/wasm-stringify-ints-small/Makefile index 26de6a0c689..01e1c6b0ce8 100644 --- a/src/test/run-make/wasm-stringify-ints-small/Makefile +++ b/src/test/run-make/wasm-stringify-ints-small/Makefile @@ -4,7 +4,7 @@ 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 "20500" ] + [ "`wc -c < $(TMPDIR)/foo.wasm`" -lt "25000" ] else all: endif |
