Placeholder not found in ci builds, try to tell the compiler to not touch it

This commit is contained in:
Caelan Sayler
2024-05-16 22:12:49 +01:00
parent b01100b8bb
commit 0e39d653c3

View File

@@ -27,6 +27,9 @@ pub trait ReadSeek: Read + Seek {}
impl<T: Read + Seek> ReadSeek for T {}
#[cfg(target_os = "windows")]
#[used]
#[link_section = ".rodata"]
#[no_mangle]
static BUNDLE_PLACEHOLDER: [u8; 48] = [
0, 0, 0, 0, 0, 0, 0, 0, // 8 bytes for package offset
0, 0, 0, 0, 0, 0, 0, 0, // 8 bytes for package length