There should be no metadata to read on iOS

This commit is contained in:
Valerii Hiora 2014-06-13 11:41:00 +03:00
parent ebc6474668
commit 41522aaf72

View file

@ -602,7 +602,7 @@ pub fn meta_section_name(os: abi::Os) -> Option<&'static str> {
pub fn read_meta_section_name(os: abi::Os) -> &'static str {
match os {
abi::OsMacos => "__note.rustc",
abi::OsiOS => "__note.rustc",
abi::OsiOS => unreachable!(),
abi::OsWin32 => ".note.rustc",
abi::OsLinux => ".note.rustc",
abi::OsAndroid => ".note.rustc",