patterns: Removed [[static]] attribute from ARFile struct

This commit is contained in:
WerWolv
2022-07-31 14:53:03 +02:00
committed by GitHub
parent 9b564fe403
commit 660da67e3b

View File

@@ -17,9 +17,9 @@ struct ARFile {
u8 data[std::string::parse_int(this.file_size, 10)];
padding[sizeof(data) & 1];
}
} [[static]];
};
char signature[8] @ 0x00;
std::assert(signature == "!<arch>\n", "File is not a valid archive!");
ARFile files[while($ < std::mem::size())] @ $;
ARFile files[while($ < std::mem::size())] @ $;