Skip to content

IndexError: list index out of range when running ./x.py help #58640

Closed
@Eijebong

Description

@Eijebong
$ ./x.py help
Traceback (most recent call last):
  File "./x.py", line 11, in <module>
    bootstrap.main()
  File "/home/eijebong/code/rust/src/bootstrap/bootstrap.py", line 833, in main
    sys.argv = sys.argv[:1] + [sys.argv[2], '-h'] + sys.argv[3:]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions