Skip to content

Better error message if libservo is compiled without vello and vello_cpu #40779

@jschwe

Description

@jschwe

Currently either the vello or vello_cpu must be selected otherwise a compile error occurs in canvas.
This usually doesn't come up, since the vello_cpu feature is unconditionally enabled by us. But since it is a feature flag, we should add a way to disable it (with no-default-features). The compile errors are a bit ugly if no backend is selected, so we should at least add a compile_error!() with a useful message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildRelated to or part of the build processI-papercutSmall but painful.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions