• Russ Cox's avatar
    cmd/link: add -importcfg to specify import resolution · 4f2269ed
    Russ Cox authored
    Adds the ability to specify the file location of each imported package,
    like in the -importcfg added to cmd/compile in a related CL.
    In effect, -importcfg is a generalization of and supersedes -installsuffix
    and -L. Of course, those flags will continue to be supported, for
    compatibility with other tools.
    
    Having this flag in Go 1.9 will let us try some experiments involving
    package management without needing guinea pigs to build a custom
    Go toolchain.
    
    This flag also helps with #14271 at some later point.
    
    For #20579.
    
    Change-Id: Ie4c171bcd3aa2faa446ac340e36516f2f9853882
    Reviewed-on: https://go-review.googlesource.com/44851
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    4f2269ed
Name
Last commit
Last update
..
internal Loading commit data...
doc.go Loading commit data...
dwarf_test.go Loading commit data...
link_test.go Loading commit data...
linkbig_test.go Loading commit data...
main.go Loading commit data...