From e737612ebd234ff8e5e60fadc53be449e13c1445 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 24 Aug 2016 02:08:40 +0000 Subject: [PATCH] Fix mysterious crash on OS X 10.10+. Fixes #679 --- src/rustup-cli/self_update.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rustup-cli/self_update.rs b/src/rustup-cli/self_update.rs index 5dce469618..05ad795398 100644 --- a/src/rustup-cli/self_update.rs +++ b/src/rustup-cli/self_update.rs @@ -369,6 +369,7 @@ fn do_pre_install_sanity_checks() -> Result<()> { // sudo is configured not to change $HOME. Don't let that bogosity happen. fn do_anti_sudo_check(no_prompt: bool) -> Result<()> { #[cfg(unix)] + #[inline(never)] // FIXME #679. Mysterious crashes on OS X 10.10+ pub fn home_mismatch() -> bool { extern crate libc as c;