google / go-sev-guest

go-sev-guest offers a library to wrap the /dev/sev-guest device in Linux, as well as a library for attestation verification of fundamental components of an attestation report.
Apache License 2.0
46 stars 19 forks source link

fix: function asmCpuid missing Go declaration #83

Closed Laisky closed 12 months ago

Laisky commented 1 year ago

I got this error, maybe misspell the function's name?

# github.com/google/go-sev-guest/abi
abi/cpuid_amd64.s:18:1: [amd64] asmCpuid: function asmCpuid missing Go declaration

Append: also add a cpuid.go file to compatable with non-amd64 machine that could also import this package

Laisky commented 12 months ago

@deeglaze Thank you for your detailed guidance. I have made another revision, please take a look.

Laisky commented 12 months ago

@deeglaze done

Laisky commented 12 months ago

Thanks for your contribution!

Thank you for your patient guidance 😁