/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! The embedded Info.plist file. const DATA: &[u8] = br#" CFBundleDevelopmentRegion English CFBundleDisplayName Crash Reporter CFBundleExecutable crashreporter CFBundleIdentifier org.mozilla.crashreporter CFBundleInfoDictionaryVersion 6.0 CFBundleName Crash Reporter CFBundlePackageType APPL CFBundleVersion 1.0 LSHasLocalizedDisplayName NSRequiresAquaSystemAppearance NSPrincipalClass NSApplication "#; const N: usize = DATA.len(); const PTR: *const [u8; N] = DATA.as_ptr() as *const [u8; N]; #[used] #[link_section = "__TEXT,__info_plist"] // # Safety // The array pointer is created from `DATA` (a slice pointer) with `DATA.len()` as the length. static PLIST: [u8; N] = unsafe { *PTR };