mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove encoding of safemode bit from export data
Removes the encoding of this bit which was ignored but left behind for 1.7 to minimize pre-1.7 export format changes. See the issue for more details. Fixes #15772. Change-Id: I46cd7a66ad4c6003b78c64295cf3bda503ebf2dd Reviewed-on: https://go-review.googlesource.com/27201 Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
2b583a190e
commit
f50ced6d73
3 changed files with 3 additions and 7 deletions
|
|
@ -106,9 +106,6 @@ func Import(in *bufio.Reader) {
|
|||
|
||||
// read compiler-specific flags
|
||||
|
||||
// read but ignore safemode bit (see issue #15772)
|
||||
p.bool() // formerly: importpkg.Safe = p.bool()
|
||||
|
||||
// phase 2
|
||||
objcount = 0
|
||||
for {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue