Skip to content

make UT stable on Mac by getting rid of gomonkey code #1837

make UT stable on Mac by getting rid of gomonkey code

make UT stable on Mac by getting rid of gomonkey code #1837

Triggered via pull request September 2, 2024 04:13
Status Success
Total duration 3m 52s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint
cannot use cpu.X86.HasSSE42 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint
unsafe.Offsetof(cpu.X86.HasSSE42) (value of type uintptr) is not constant
lint
cannot use cpu.X86.HasAVX2 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint
unsafe.Offsetof(cpu.X86.HasAVX2) (value of type uintptr) is not constant
lint
cannot use cpu.X86.HasPOPCNT (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint
unsafe.Offsetof(cpu.X86.HasPOPCNT) (value of type uintptr) is not constant
lint
cannot use cpu.S390X.HasVX (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint
unsafe.Offsetof(cpu.S390X.HasVX) (value of type uintptr) is not constant
lint
cannot use cpu.PPC64.IsPOWER9 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
lint
unsafe.Offsetof(cpu.PPC64.IsPOWER9) (value of type uintptr) is not constant