Skip to content

Commit

Permalink
Fix mysterious crash on OS X 10.10+. Fixes #679
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Aug 24, 2016
1 parent 2c38faa commit e737612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rustup-cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e737612

Please sign in to comment.