]> Cypherpunks repositories - gostls13.git/commit
runtime: clarify GOROOT return value in documentation
authorGabriel Aszalos <gabriel.aszalos@gmail.com>
Fri, 3 Nov 2017 08:40:52 +0000 (09:40 +0100)
committerRuss Cox <rsc@golang.org>
Fri, 3 Nov 2017 15:52:40 +0000 (15:52 +0000)
commitd6ebbef89de401199f729f2d70239f3e09460164
tree8cf0d881bde0738edac72d8f91505dcd942aa93c
parent39de58bad70b2aca9f7c874b64a8180307503ee4
runtime: clarify GOROOT return value in documentation

The current GOROOT documentation could indicate that changing the
environment variable at runtime would affect the return value of
GOROOT. This is false as the returned value is the one used for the
build. This CL aims to clarify the confusion.

Fixes #22302

Change-Id: Ib68c30567ac864f152d2da31f001a98531fc9757
Reviewed-on: https://go-review.googlesource.com/75751
Reviewed-by: Russ Cox <rsc@golang.org>
src/runtime/extern.go