Skip to content

Configuration file should be tracked #383

@Kijewski

Description

@Kijewski

I.e. the explicitly given #[template(config = "…")] or the implicit askama.toml (if it exists). Otherwise changes to this file won't cause a recompilation. Right now, only used templates are tracked via const _: &[u8] = include_bytes!(…).

The bug fix can be encountered "in the wild", e.g. in uniffi_bindgen. In my opinion, we should fix emit the include_bytes!(…) statement, so downstream users don't have to care about tracked files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions