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

Don't compare unexported fields when comparing subrepos #3223

Merged

Conversation

chrisnovakovic
Copy link
Contributor

Two subrepos can be equal even if their unexported fs and fsSync fields differ. Exclude them when checking the equality of two subrepos.

Fixes #3222.

Two subrepos can be equal even if their unexported `fs` and `fsSync`
fields differ. Exclude them when checking the equality of two subrepos.

Fixes thought-machine#3222.
@chrisnovakovic chrisnovakovic merged commit 43efaf3 into thought-machine:master Aug 15, 2024
14 checks passed
@chrisnovakovic chrisnovakovic deleted the subrepo-comparison branch August 15, 2024 08:33
chrisnovakovic added a commit to chrisnovakovic/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release pipeline
(see thought-machine/please#3223).
chrisnovakovic added a commit to chrisnovakovic/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release workflow
(see thought-machine/please#3223).
chrisnovakovic added a commit to please-build/go-rules that referenced this pull request Aug 15, 2024
This should fix a bug that is blocking the go-rules release workflow
(see thought-machine/please#3223).
@Tatskaari
Copy link
Member

Tatskaari commented Aug 19, 2024

Nice! I think this might have been the issue I was hitting when trying to cross compile recently. Thanks for this.

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.

"Found multiple definitions for subrepo <arch>" error when cross-compiling
3 participants