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

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

Open
koutheir opened this issue Jan 8, 2021 · 1 comment
Open

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

koutheir opened this issue Jan 8, 2021 · 1 comment

Comments

@koutheir
Copy link

koutheir commented Jan 8, 2021

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.

@lu-zero
Copy link
Owner

lu-zero commented Jan 8, 2021

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

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

No branches or pull requests

2 participants