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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Jun 12 22:38:51 PDT 2024


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



More information about the linux-arm-kernel mailing list