diff options
| author | bors <bors@rust-lang.org> | 2021-07-02 00:15:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-02 00:15:58 +0000 |
| commit | 7a9ff746fe20a38a3adc0ac65e1789f6e4b099ad (patch) | |
| tree | 61d83a04d5f3e00bc76e0981a5c6a00f19011b22 /library/std/src/sys/unix/cmath.rs | |
| parent | 56dee7c49ecdec4c2c9eccc6ff966cf58847bda6 (diff) | |
| parent | 56219870ee3478c337f8faf104bb7cb1929000dc (diff) | |
| download | rust-7a9ff746fe20a38a3adc0ac65e1789f6e4b099ad.tar.gz rust-7a9ff746fe20a38a3adc0ac65e1789f6e4b099ad.zip | |
Auto merge of #86777 - tmiasko:estimate-terminators, r=estebank
Include terminators in instance size estimate
For example, drop glue generated for struct below, doesn't have any
statements, only terminators. Previously it received an estimate of 0,
the new estimate is 13 (6+5 drop terminators, +1 resume, +1 return).
```rust
struct S {
a: String,
b: String,
c: String,
d: String,
e: String,
f: String,
}
```
Originally reported in https://github.com/rust-lang/rust/issues/69382#issue-569392141
Diffstat (limited to 'library/std/src/sys/unix/cmath.rs')
0 files changed, 0 insertions, 0 deletions
