File sync helpers for RustQ-generated sources.
Most projects should use rustq.exs with mix rustq.gen. Use this module
directly when a project already has its own Mix task and only needs RustQ's
write/check behavior.
RustQ.Generated.sync!(:helpers,
path: "native/my_nif/src/generated_helpers.rs",
build: fn -> render_helpers() end
)Pass check: true to compare without writing, which is useful in CI.