mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #18420 - servo:toml, r=nox,emilio
Get rustc commit hash from channel manifest … added in https://github.com/rust-lang/rust/pull/44218, instead of using the GitHub API. Also upgrade to rustc 1.22.0-nightly (d93036a04 2017-09-07). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18420) <!-- Reviewable:end -->
This commit is contained in:
commit
af077a7222
5 changed files with 15 additions and 7 deletions
|
@ -478,6 +478,12 @@ impl<E: TElement> StyleSharingCache<E> {
|
|||
}
|
||||
|
||||
/// Create a new style sharing candidate cache.
|
||||
|
||||
// Forced out of line to limit stack frame sizes after extra inlining from
|
||||
// https://github.com/rust-lang/rust/pull/43931
|
||||
//
|
||||
// See https://github.com/servo/servo/pull/18420#issuecomment-328769322
|
||||
#[inline(never)]
|
||||
pub fn new() -> Self {
|
||||
assert_eq!(mem::size_of::<SharingCache<E>>(), mem::size_of::<TypelessSharingCache>());
|
||||
assert_eq!(mem::align_of::<SharingCache<E>>(), mem::align_of::<TypelessSharingCache>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue