mirror of
https://github.com/golang/go
synced 2024-11-18 16:54:43 -07:00
go/gcimporter: update export data format version
We already are compatible with the latest format. Update version. Tested against 1.6, 1.7, and tip. Fixes golang/go#17734. Change-Id: Ia167adf0ed1de371c348329513819fb9e8ca2628 Reviewed-on: https://go-review.googlesource.com/33113 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
c959b77b38
commit
a69656e0e2
@ -39,7 +39,11 @@ const debugFormat = false // default: false
|
||||
const trace = false // default: false
|
||||
|
||||
// Current export format version. Increase with each format change.
|
||||
const exportVersion = 1
|
||||
// 3: added aliasTag and export of aliases
|
||||
// 2: removed unused bool in ODCL export (compiler only)
|
||||
// 1: header format change (more regular), export package for _ struct fields
|
||||
// 0: Go1.7 encoding
|
||||
const exportVersion = 3
|
||||
|
||||
// trackAllTypes enables cycle tracking for all types, not just named
|
||||
// types. The existing compiler invariants assume that unnamed types
|
||||
|
Loading…
Reference in New Issue
Block a user