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

cmd/go: make -trimpath a list #28002

Closed
hugelgupf opened this issue Oct 4, 2018 · 2 comments
Closed

cmd/go: make -trimpath a list #28002

hugelgupf opened this issue Oct 4, 2018 · 2 comments
Labels
FeatureRequest FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@hugelgupf
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.11rc2

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

linux/amd64

What did you do?

go build -gcflags=-trimpath=/tmp/foo:/tmp/bar

I'd like to be able to trim multiple paths for fully reproducible multi-GOPATH builds in different users' environments.

For now you can only trim one prefix. We could plausibly make -trimpath take a list for Go 1.7. If that's useful to you please file a new issue. Thanks. - @rsc in #13809

@katiehockman katiehockman changed the title Make -trimpath a list cmd/go: make -trimpath a list Oct 4, 2018
@katiehockman
Copy link
Contributor

/cc @bcmills @rsc @ianlancetaylor

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. GoCommand cmd/go labels Oct 4, 2018
@bcmills
Copy link
Contributor

bcmills commented Oct 4, 2018

Dup of #22382, I think.

@bcmills bcmills closed this as completed Oct 4, 2018
@golang golang locked and limited conversation to collaborators Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FeatureRequest FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants