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

link: make package conflicts into errors instead of warnings #2730

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

jayconrod
Copy link
Contributor

We've promised to do this for more than two years, and the time has
finally come.

If more than one copy of a package with the same package path is
provided to the linker, the GoLink action now reports an
error. Distinct packages (for example, from multiple vendor
directories) may be disambiguated with the importmap attribute.

Fixes #1374

We've promised to do this for more than two years, and the time has
finally come.

If more than one copy of a package with the same package path is
provided to the linker, the GoLink action now reports an
error. Distinct packages (for example, from multiple vendor
directories) may be disambiguated with the importmap attribute.

Fixes bazelbuild#1374
@google-cla google-cla bot added the cla: yes label Nov 19, 2020
@jayconrod jayconrod merged commit d3596ec into bazelbuild:master Nov 19, 2020
@jayconrod jayconrod deleted the flip-package-conflict branch November 19, 2020 23:01
jayconrod pushed a commit to jayconrod/rules_go that referenced this pull request Feb 16, 2021
The Go 1.16 linker appears stricter about fingerprinting. This test no
longer works, but the behavior being tested was never supported.

Sync with the test on master, which always expects an error.
jayconrod pushed a commit that referenced this pull request Feb 16, 2021
Fixes #2820

---

tests: partial cherry-pick of test change in #2730

The Go 1.16 linker appears stricter about fingerprinting. This test no
longer works, but the behavior being tested was never supported.

Sync with the test on master, which always expects an error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

link: error when multiple packages have same package path
1 participant