diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2021-10-06 12:33:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-06 12:33:24 -0700 |
| commit | f31c805038652fd820c0b10502e97472b83151bb (patch) | |
| tree | 2f46d3f371c607b3a90aabda623555d484e57dc2 /src/test/codegen | |
| parent | eb7da35d8492308e66c5cbf0471548cadcf786af (diff) | |
| parent | b386959aca1fd25431b8f58b96ddefa556a4bd27 (diff) | |
| download | rust-f31c805038652fd820c0b10502e97472b83151bb.tar.gz rust-f31c805038652fd820c0b10502e97472b83151bb.zip | |
Rollup merge of #89591 - infinity0:master, r=Amanieu
fix: alloc-optimisation is only for rust llvm As discussed at the bottom of #83485. On a separate note I'll take this chance ask, is it worth pulling in that patch (to recognise `__rust_dealloc`) into Debian's system LLVM? The main factors for us to consider would be (1) is the optimisation significant and (2) is there not any significant negative impact to non-rust packages that use LLVM.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/alloc-optimisation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/codegen/alloc-optimisation.rs b/src/test/codegen/alloc-optimisation.rs index 5b27f3f4545..aee93b93e37 100644 --- a/src/test/codegen/alloc-optimisation.rs +++ b/src/test/codegen/alloc-optimisation.rs @@ -1,4 +1,5 @@ // +// no-system-llvm // min-llvm-version: 10.0.1 // compile-flags: -O #![crate_type="lib"] |
