Skip to content

On Linux, You Have To Manually Change The Shebang On x.py From Python To Python3 #75034

@nishantc1527

Description

@nishantc1527

Currently, this is the first line in x.py.

#!/usr/bin/env python

However, on linux since it is python3 by default when you install python (at least on centos), I have to manually change it to this every time I clone this repository.

#!/usr/bin/env python3

Is there some way that there is an automated way to detect this? If not, maybe you can update the docs because it took me a while to figure out what was going wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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