Skip to content

Commit d1292d2

Browse files
committed
Disable anti-sudo check. #695
1 parent a46766e commit d1292d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/rustup-cli/self_update.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,11 @@ pub fn install(no_prompt: bool, verbose: bool,
196196
mut opts: InstallOpts) -> Result<()> {
197197

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

201205
if !no_prompt {
202206
let ref msg = try!(pre_install_msg(opts.no_modify_path));

0 commit comments

Comments
 (0)