mitsuhiko / minijinja

MiniJinja is a powerful but minimal dependency template engine for Rust compatible with Jinja/Jinja2
https://docs.rs/minijinja/
Apache License 2.0
1.56k stars 86 forks source link

Route incref via vtable to avoid alignment issues #516

Closed mitsuhiko closed 3 months ago

mitsuhiko commented 3 months ago

This method was previously not sound when the alignment of the type was larger than the necessary alignment for the atomic counters.

mitsuhiko commented 3 months ago

The CI failure is a change in nightly (https://github.com/rust-lang/rust/issues/125319) caused by a new type implementation (https://github.com/rust-lang/rust/pull/99969). Upgrading the time dependency to avoid this issue.