Closed flyn-org closed 2 years ago
Thanks for reporting this! The test is actually wrong – I meant the opposite. I want to check that the struct is not more than 48 bytes. Let me fix it.
Should be fixed by https://github.com/pelletier/go-toml/commit/5aaf5ef13b8a47eca3eb424cfdb8bc7a044ec5fa. Let me know if it works, and whether you'd like me to tag a new beta release to get your build going.
Fixed! Thank you.
Describe the bug I am trying to package go-toml for Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=2031226). Go-toml's
internal/tracker/seen_test.go
fails on i686 with the following message:This test uses
unsafe.Sizeof
to determine the size of a type. Is it possible that this size is smaller than expected on 32-bit platforms? Pointers there will consume 32 bits, rather than 64 bits.To Reproduce Build go-toml on Fedora i686. A full log of this is available at https://kojipkgs.fedoraproject.org//work/tasks/4983/86184983/build.log.
Expected behavior A clear and concise description of what you expected to happen, if other than "should work".
Versions
Additional context