• Alex Brainman's avatar
    runtime: revert 6974:1f3c3696babb · a41d8549
    Alex Brainman authored
    I missed that environment is used during runtime setup,
    well before go init() functions run. Implemented os-dependent
    runtime.goenvs functions to allow for different unix, plan9 and
    windows versions of environment discovery.
    
    R=rsc, paulzhol
    CC=golang-dev
    https://golang.org/cl/3787046
    a41d8549
string.goc 5.09 KB