Re: [RFC 1/2] rust: Introduce atomic API helpers

Greg Kroah-Hartman
2024-06-13T05:39:12Z

On Wed, Jun 12, 2024 at 03:30:24PM -0700, Boqun Feng wrote:
> +// Generated by scripts/atomic/gen-rust-atomic-helpers.sh
> +// DO NOT MODIFY THIS FILE DIRECTLY

Why not just build this at build time and not check the file into the
tree if it is always automatically generated? That way it never gets
out of sync. We do this for other types of auto-generated files in the
kernel today already.

thanks,

greg k-h