]> Cypherpunks repositories - gostls13.git/commit
[dev.boringcrypto] cmd/compile: by default accept any language
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Nov 2018 23:36:02 +0000 (15:36 -0800)
committerFilippo Valsorda <filippo@golang.org>
Wed, 14 Nov 2018 18:13:28 +0000 (18:13 +0000)
commit0cbb11c720222efa30a009ec2a48ab32f4306526
tree16ff7e3007368070874db40ff5ae267f6cad0026
parent11e916773ef8672d1423ccb100516812dfd50041
[dev.boringcrypto] cmd/compile: by default accept any language

The bootstrap stage 1 compiler was defaulting to the language version
used by the bootstrap compiler itself, typically 1.4. Normally this
doesn't matter since the bootstrap code has to build with 1.4 anyhow,
but it broke the boringcrypto branch which uses cgo during the
bootstrap, as cgo now generates code that uses type aliases.

Change-Id: I8a8312bb9ca4befaf65c00a8d71a78566075c2f7
Reviewed-on: https://go-review.googlesource.com/c/149459
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
(cherry picked from commit 69397422c0ac74f9f9ec8e2b3e6d0b0b7ab1b697)
Reviewed-on: https://go-review.googlesource.com/c/149485
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/main.go