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

go/build: set up Path more carefully #2749

Closed
rsc opened this issue Jan 20, 2012 · 2 comments
Closed

go/build: set up Path more carefully #2749

rsc opened this issue Jan 20, 2012 · 2 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Jan 20, 2012

The go tool needs to know what the tree corresponding
to the first directory on the $GOPATH is.  It assumes
this is build.Path[1] when build.Path contains >1 entry.
It also assumes that build.Path[0] is the $GOROOT tree.
Neither of these is guaranteed, because build omits 
trees that failed to be created.  Build should instead leave
trees with the asked-for directory names.  If they don't
work, they don't work.  That's fine.
@rsc
Copy link
Contributor Author

rsc commented Jan 30, 2012

Comment 1:

Labels changed: added go1-must.

@rsc
Copy link
Contributor Author

rsc commented Mar 1, 2012

Comment 2:

This issue was closed by revision ebe1664.

Status changed to Fixed.

@rsc rsc added fixed labels Mar 1, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants