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

Set CARGO_MANIFEST_DIR at runtime for tests #1559

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

bsilver8192
Copy link
Contributor

As documented at
https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-crates, cargo tests this both when compiling and when running tests.

@bsilver8192
Copy link
Contributor Author

@scentini are you the right person to review this?

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@illicitonion illicitonion merged commit 4892712 into bazelbuild:main Oct 5, 2022
@bsilver8192 bsilver8192 deleted the cargo-manifest-dir-test branch October 5, 2022 20:36
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