Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh that's an interesting question, I've never tried to build a binary with "replace"-ing one of the builtin packages.

Maybe that works? But many of the standard library packages use linker shenanigans, if I recall, like //go:linkname pragmas. Maybe that's an issue, maybe not?

It would be interesting if the fork was unnecessary and it was possible to implement FIPS via package replacements! That would be a lot simpler.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: