autotools-rs icon indicating copy to clipboard operation
autotools-rs copied to clipboard

Provide a method to avoid emitting "cargo:root="

Open koutheir opened this issue 3 years ago • 1 comments

The Config::build() method automatically emits the cargo directive cargo:root=. Please provide a method to disable this behavior, e.g., Config::emit_cargo_root(bool).

The default Config instance would emit cargo:root= to make this change backwards-compatible, and a call to config.emit_cargo_root(false) would avoid emitting the directive.

koutheir avatar Jan 08 '21 17:01 koutheir

I'd accept a patch if you have one ready.

lu-zero avatar Jan 08 '21 18:01 lu-zero