- Created zcgo.go with defaultCGO_ENABLED constant (Go 1.24 pattern) - Updated parseGoVersion to panic on unexpected input instead of fallback - Added runtime.(*Func).Name stub to symtab.go for Go 1.21/1.22 compatibility - Removed go1.23 build constraint from demo - Removed internal/buildcfg package (replaced by zcgo.go) These changes ensure the demo works across Go 1.21+ versions. 🤖 Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <luoliwoshang@users.noreply.github.com>
8 lines
223 B
Go
8 lines
223 B
Go
// Copyright 2024 The GoPlus Authors (goplus.org). All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package build
|
|
|
|
const defaultCGO_ENABLED = "1"
|