Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/rustup-cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,7 @@ pub fn install(no_prompt: bool, verbose: bool,
mut opts: InstallOpts) -> Result<()> {

try!(do_pre_install_sanity_checks());
// FIXME: #695 This function is miscompiled and crashes.
// Even when I pin the compiler to an old nightly, 2016-08-10,
// which _does not crash_ on my machine, it still seems to be
// miscompiled on the deployed builds. I am very confused.
//try!(do_anti_sudo_check(no_prompt));
try!(do_anti_sudo_check(no_prompt));

if !no_prompt {
let ref msg = try!(pre_install_msg(opts.no_modify_path));
Expand Down Expand Up @@ -372,7 +368,6 @@ fn do_pre_install_sanity_checks() -> Result<()> {
#[allow(dead_code)]
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