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

build-style/cargo: pass config_args in do_check. #23306

Merged
merged 1 commit into from Jul 6, 2020

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Jun 29, 2020

Cargo rebuilds the package if the configure_args aren't the same, which
makes it test the wrong binary.

Cargo rebuilds the package if the command line arguments aren't the
same, which makes it test the wrong binary.
@jnbr
Copy link
Contributor

jnbr commented Jul 5, 2020

Not sure if it makes a difference here but I would add --locked as well

@ericonr
Copy link
Member Author

ericonr commented Jul 6, 2020

@jnbr should we add --locked to the build step as well? Or only for test and install?

@jnbr
Copy link
Contributor

jnbr commented Jul 6, 2020

No, this would break packages that do not ship a Cargo.lock file.
Actually, I just checked, we don't need it for cargo test,it is only cargo install, which behaves differently.

@jnbr jnbr merged commit 2be5dd6 into void-linux:master Jul 6, 2020
@ericonr ericonr deleted the rust branch August 17, 2020 02:31
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants