We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff4ccb commit 3bd7eafCopy full SHA for 3bd7eaf
src/macos.rs
@@ -170,7 +170,7 @@ const LSROLE_VIEWER: LSRolesMask = 0x00000002;
170
const LS_LAUNCH_FLAG_DEFAULTS: u32 = 0x00000001;
171
const LS_LAUNCH_FLAG_ASYNC: u32 = 0x00010000;
172
173
-#[repr(C)]
+#[repr(C, packed(2))] // Header contains `#pragma pack(push, 2)`.
174
struct LSLaunchURLSpec {
175
app_url: CFURLRef,
176
item_urls: CFArrayRef,
0 commit comments