diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-04-19 09:46:47 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-11-16 13:31:21 +0100 |
commit | 9a5abab442168be589e15a4def0e2c8225b31de9 (patch) | |
tree | b3e0cf444f67c533860dd59a2e564c6f61062fb5 /components/servo/platform/macos/mod.rs | |
parent | 3fdce3942915e2ef461280d4908641580473ad94 (diff) | |
download | servo-9a5abab442168be589e15a4def0e2c8225b31de9.tar.gz servo-9a5abab442168be589e15a4def0e2c8225b31de9.zip |
Move the servo binary to ports.
Diffstat (limited to 'components/servo/platform/macos/mod.rs')
-rw-r--r-- | components/servo/platform/macos/mod.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/components/servo/platform/macos/mod.rs b/components/servo/platform/macos/mod.rs deleted file mode 100644 index b980b83f5fb..00000000000 --- a/components/servo/platform/macos/mod.rs +++ /dev/null @@ -1,19 +0,0 @@ -/* 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/. */ - -use std::ptr; - -pub fn deinit() { - // An unfortunate hack to make sure the linker's dead code stripping doesn't strip our - // `Info.plist`. - unsafe { - ptr::read_volatile(&INFO_PLIST[0]); - } -} - -#[cfg(target_os = "macos")] -#[link_section = "__TEXT,__info_plist"] -#[no_mangle] -pub static INFO_PLIST: [u8; 619] = *include_bytes!("Info.plist"); - |