Skip to content

Taffy 0.8 - taffy values cannot be sent between threads due to *const () #823

@PPakalns

Description

@PPakalns

taffy version

0.8

Platform

Rust

What you did

Upgraded taffy to 0.8

What went wrong

Taffy values cannot be sent between threads safely because of *const () .

This limits the usability of taffy in multi threaded use cases where UI may be constructed from multiple threads.

Additional information

Probably due to tagged_ptr in CompactLengthInner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions