-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat: add CARGO_MANIFEST_PATH env variable #14404
base: master
Are you sure you want to change the base?
Conversation
f756b8b
to
994083b
Compare
@rfcbot merge This PR insta-stabilizes |
Team member @epage has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
8083492
to
58a807f
Compare
58a807f
to
051478c
Compare
Adds
CARGO_MANIFEST_PATH
variable as part of #12207Context:
CARGO_MANIFEST_DIR
is not very useful, because there is noCargo.toml
file when running a cargo script. In cases when multiple scripts are stored in the same folder, we can't tell which script exactly is being run usingCARGO_MANIFEST_DIR