Ran
|
Jobs
3
|
Files
3
|
Run time
5min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/Robbepop/string-interner/commit/<a class=hub.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4">8d24e66d5<a href="https://github.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4">">Backport clone bugfix on top of 0.6.3 (#14) * backport use-after-free bugfix in `StringInterner::clone()` onto 0.6.3 Backported by Pat Hickey &lt;phickey@fastly.com&gt; In master branch and 0.7.1 release as </a><a class="double-link" href="https://github.com/Robbepop/string-interner/commit/<a class="double-link" href="https://github.com/Robbepop/string-interner/commit/d91dac0cfe42512526879cdfaac0b81beff54089">d91dac0cf</a>">d91dac0cf</a><a href="https://github.com/Robbepop/string-interner/commit/8d24e66d5f138e158105a5f28f1b41fe478665c4"> Original PR: https://github.com/Robbepop/string-interner/pull/10 From original commit message: > * Add a test which may fail for use after free bug #9 > > * Implement `Clone` manually for `StringInterner` > > New `clone()` implementation recreates `HashMap` to update key > `InternalStrRef`s with pointer to newly cloned strings. > `#[derive(Clone)]` requires `S: Clone` automatically, and the new > `Clone` implementation does not require it explicitly. > However, `S: Symbol` trait bound indirectly requires `S: Clone`, so > the restriction for `S` is actually not changed. > Fixes #9. * Backport: Add a test to ensure that interners have no dangling pointers From https://github.com/Robbepop/string-interner/pull/12/commits/eb54ae076">eb54ae076</a>
188 of 193 relevant lines covered (97.41%)
4.83 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 701.1 | 2 |
94.39 |
Travis Job 701.1 | |
2 | 701.2 | 2 |
94.41 |
Travis Job 701.2 | |
3 | 701.3 | 2 |
94.6 |
Travis Job 701.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|