Skip to content

Commit

Permalink
Merge pull request #684 from brson/mystery-crash
Browse files Browse the repository at this point in the history
Fix mysterious crash on OS X 10.10+. Fixes #679
  • Loading branch information
brson authored Aug 24, 2016
2 parents cd0d201 + e737612 commit 285f8ed
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 285f8ed

Please sign in to comment.