Skip to content

Rustup display lots of decimal places for ETA when installing components #1731

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
toothbrush7777777 opened this issue Mar 29, 2019 · 4 comments
Labels

Comments

@toothbrush7777777
Copy link

toothbrush7777777 commented Mar 29, 2019

Problem

I ran rustup self update && rustup update nightly and the ETA when installing components shows lots and lots of decimal places.

Steps

  1. Run rustup update nightly in latest version of rustup
  2. Check displayed ETA when installing components:
    info: installing component 'rust-docs'
     10.2 MiB /  10.2 MiB (100 %) 288.0 KiB/s ETA:   5.682814825148810 min 40.968889508928584 s
    

Possible Solution(s)

#1699

Notes

Output of rustup --version: rustup 1.17.0 (069c88ed6 2019-03-05)
Output of rustup show:

Default host: x86_64-pc-windows-gnu

installed toolchains
--------------------

stable-x86_64-pc-windows-gnu
nightly-x86_64-pc-windows-gnu (default)

active toolchain
----------------

nightly-x86_64-pc-windows-gnu (default)
(timeout reading rustc version)


@kinnison
Copy link
Contributor

This is a known issue whose fix is, as you have noted, already merged. I'm unclear as to what you hope to achieve with this bug report.

@toothbrush7777777
Copy link
Author

I didn't know that fixed this issue; I thought it was specific to the other issue. I can close this issue if you verify that it indeed fixes the issue.

@kinnison
Copy link
Contributor

It's the same code which is used to report progress in both cases. Sorry, I realise that wasn't necessarily obvious to you.

@toothbrush7777777
Copy link
Author

@kinnison Thanks for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants