-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm getting the following when I try to compile the latest desktop:
error[E0793]: reference to packed field is unaligned
--> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tendril-0.4.1/src/tendril.rs:1028:23
|
1028 | let content = &mut (*self.header()).refcount;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses
= note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
= help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
The repository looks abandoned: https://github.com/servo/tendril.
Metadata
Metadata
Assignees
Labels
No labels