Skip to content

./x test bootstrap shows curl progress bars #120133

Closed
@Teapot4195

Description

@Teapot4195

Steps to reproduce

  1. clear the files under build/cache/[date] for those that aren't for your host triple.
  2. clear the folders under build that isn't for your host triple. (e.g. aarch64-apple-darwin if building on x86-64-windows-msvc)
  3. run ./x test bootstrap
  4. observe under a block of 37 tests, the curl progress bar shows up 6 times.

Ideal solution

  • When building the command for curl, possibly suppress the progress bar with -s in tests.
  • Possibly don't download for those targets in the first place?
    • The tools being downloaded appear to be native (not cross), I can't really see a use given they can't run on a mismatched host triple.

If someone happens to know where these curl commands are being called from, that would be helpful :)

For whoever picks up this issue: I can't exactly mentor this issue but if you do need help, feel free to ping me on zulip.

Labeled easy since it doesn't look that difficult to fix.

@rustbot label +C-enhancement +E-easy

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions