github.com/0xKiwi/rules_go@v0.24.3/tests/integration/reproducibility/README.rst (about)

     1  Reproducibility
     2  
     3  reproducibility_test
     4  --------------------
     5  Verifies that the files generated when building a set of targets are identical,
     6  even when built from multiple copies of the same workspace.
     7  
     8  Currently covers pure ``go_binary`` targets and a cgo ``go_binary`` with
     9  ``linkmode = "c-archive"``.
    10  
    11  TODO: cover more modes. Currently, it seems like a cgo ``go_binary`` that
    12  produces an executable is not reproducible on macOS. This is most likely
    13  due to the external linker, since all the inputs to the linker are identical.
    14  Needs investigation.