Fix undefined symbols error
Currently TinyGo does not process SFiles (assembly files), which are needed by math/big. Add math_big_pure_go to the build tags to unbreak it.
Этот коммит содержится в:
родитель
03481789b0
коммит
e834d78871
1 изменённых файлов: 1 добавлений и 1 удалений
|
@ -55,7 +55,7 @@ func (c *Config) GOARCH() string {
|
|||
|
||||
// BuildTags returns the complete list of build tags used during this build.
|
||||
func (c *Config) BuildTags() []string {
|
||||
tags := append(c.Target.BuildTags, []string{"tinygo", "gc." + c.GC(), "scheduler." + c.Scheduler(), "serial." + c.Serial()}...)
|
||||
tags := append(c.Target.BuildTags, []string{"tinygo", "math_big_pure_go", "gc." + c.GC(), "scheduler." + c.Scheduler(), "serial." + c.Serial()}...)
|
||||
for i := 1; i <= c.GoMinorVersion; i++ {
|
||||
tags = append(tags, fmt.Sprintf("go1.%d", i))
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче