Gankra / cargo-mommy

Mommy's here to support you when running cargo~
https://faultlore.com/cargo-mommy/
Apache License 2.0
726 stars 49 forks source link

Add support for `CARGO_MOMMY_ACTUAL` to control child program #62

Closed Noratrieb closed 9 months ago

Noratrieb commented 9 months ago

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 commented 9 months ago

may or may not be related to https://github.com/rust-lang/rust/issues/118058