Skip to content
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

Add support for CARGO_MOMMY_ACTUAL to control child program #62

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

Noratrieb
Copy link
Contributor

It may potentially be desirable to use mommy with not-cargo programs. While today we can use CARGO to control this, this does set the CARGO env var, which may make some tools unhappy (for example, if another cargo gets called beneath this other program). To avoid this, this adds a neutral environment variable, CARGO_MOMMY_ACTUAL.

@Noratrieb
Copy link
Contributor Author

may or may not be related to rust-lang/rust#118058

src/main.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
It may potentially be desirable to use mommy with not-cargo programs.
While today we can use `CARGO` to control this, this does set the
`CARGO` env var, which may make some tools unhappy (for example, if
another cargo gets called beneath this other program). To avoid this,
this adds a neutral environment variable, `CARGO_MOMMYS_ACTUAL`.
@Gankra Gankra merged commit 0d96506 into Gankra:main Nov 19, 2023
20 checks passed
@Noratrieb Noratrieb deleted the actual branch November 19, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants