|
From: | Richard Henderson |
Subject: | Re: [RFC 06/13] rust: add bindings for memattrs |
Date: | Thu, 5 Dec 2024 12:15:42 -0600 |
User-agent: | Mozilla Thunderbird |
On 12/5/24 00:07, Zhao Liu wrote:
The MemTxAttrs structure is composed of bitfield members, and bindgen is unable to generate an equivalent macro definition for MEMTXATTRS_UNSPECIFIED.
I'm happy to move away from bit fields to uint32_t or suchlike to enable MEMTXATTRS_UNSPECIFIED be a compile-time constant.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |