diff options
| author | Russ Cox <rsc@golang.org> | 2016-01-08 11:36:36 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-01-08 19:16:50 +0000 |
| commit | a8fc547f786f17ad5a2176d9041a8d1f76895748 (patch) | |
| tree | e43dc6738a903f9ce217c80d15e5ce200e17b988 /src/runtime/testdata | |
| parent | 39ad0fd0789872f9469167be7fe9578625ff246e (diff) | |
| download | go-a8fc547f786f17ad5a2176d9041a8d1f76895748.tar.xz | |
cmd/compile: apply -importmap to imports before checking for package unsafe
There are fewer special cases this way: the import map applies
to all import paths, not just the ones not spelled "unsafe".
This is also consistent with what the code in cmd/go and go/build expects.
They make no exception for "unsafe".
For #13703.
Change-Id: I622295261ca35a6c1e83e8508d363bddbddb6c0a
Reviewed-on: https://go-review.googlesource.com/18438
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
