tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox -> 63.0 WIP diff
On Wed, Oct 24, 2018 at 08:43:32PM +0900, Ryo ONODERA wrote:
> > Also mysteriously I get:
> > error[E0308]: mismatched types
> > --> servo/components/style/gecko/snapshot_helpers.rs:63:42
> > |
> > 63 | .find(|attr| attr.mName.mBits == name.as_ptr() as usize)
> > | ^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize
> >
> > mBits is apparently defined in dom/base/nsAttrName.h
> > and usize should be the same thing as uintptr_t, so... no idea.
> > Rust configuration error?
>
> I have gotten the same error.
> And a Rust parser in my brain does not find any clue yet.
This might be a problem with cbindgen. I tried to make a minimal case
for it and it would fail even on a linux machine.
It is uintptr_t mBits, which should translate to usize, but gets
translated to u64.
Not 100% sure about this though.
I'm trying to use cbindgen as a standalone but it's been tricky.
Home |
Main Index |
Thread Index |
Old Index