Skip to content

Commit 285f8ed

Browse files
authored
Merge pull request #684 from brson/mystery-crash
Fix mysterious crash on OS X 10.10+. Fixes #679
2 parents cd0d201 + e737612 commit 285f8ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustup-cli/self_update.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ fn do_pre_install_sanity_checks() -> Result<()> {
369369
// sudo is configured not to change $HOME. Don't let that bogosity happen.
370370
fn do_anti_sudo_check(no_prompt: bool) -> Result<()> {
371371
#[cfg(unix)]
372+
#[inline(never)] // FIXME #679. Mysterious crashes on OS X 10.10+
372373
pub fn home_mismatch() -> bool {
373374
extern crate libc as c;
374375

0 commit comments

Comments
 (0)