Merge pull request #122 from eero-thia/thia/include_bytes_aligned

aya: expand include_bytes_aligned to accept expressions.
pull/115/head
Alessandro Decina 3 years ago committed by GitHub
commit a6bf554a74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -124,7 +124,7 @@ pub(crate) fn tc_handler_make(major: u32, minor: u32) -> u32 {
/// ```
#[macro_export]
macro_rules! include_bytes_aligned {
($path:literal) => {{
($path:expr) => {{
#[repr(align(32))]
pub struct Aligned32;

Loading…
Cancel
Save