Skip to content

Commit 41522aa

Browse files
committed
There should be no metadata to read on iOS
1 parent ebc6474 commit 41522aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/librustc/metadata/loader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ pub fn meta_section_name(os: abi::Os) -> Option<&'static str> {
602602
pub fn read_meta_section_name(os: abi::Os) -> &'static str {
603603
match os {
604604
abi::OsMacos => "__note.rustc",
605-
abi::OsiOS => "__note.rustc",
605+
abi::OsiOS => unreachable!(),
606606
abi::OsWin32 => ".note.rustc",
607607
abi::OsLinux => ".note.rustc",
608608
abi::OsAndroid => ".note.rustc",

0 commit comments

Comments
 (0)