Skip to content

Commit

Permalink
Rollup merge of #89591 - infinity0:master, r=Amanieu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Manishearth authored Oct 6, 2021
2 parents eb7da35 + b386959 commit f31c805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/codegen/alloc-optimisation.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//
// no-system-llvm
// min-llvm-version: 10.0.1
// compile-flags: -O
#![crate_type="lib"]
Expand Down

0 comments on commit f31c805

Please sign in to comment.