github.com/mtsmfm/go/src@v0.0.0-20221020090648-44bdcb9f8fde/crypto/internal/boring/README.md (about)

     1  This directory holds the core of the BoringCrypto implementation
     2  as well as the build scripts for the module itself: syso/*.syso.
     3  
     4  syso/goboringcrypto_linux_amd64.syso is built with:
     5  
     6  	GOARCH=amd64 ./build.sh
     7  
     8  syso/goboringcrypto_linux_arm64.syso is built with:
     9  
    10  	GOARCH=arm64 ./build.sh
    11  
    12  Both run on an x86 Debian Linux system using Docker.
    13  For the arm64 build to run on an x86 system, you need
    14  
    15  	apt-get install qemu-user-static qemu-binfmt-support
    16  
    17  to allow the x86 kernel to run arm64 binaries via QEMU.
    18  
    19  See build.sh for more details.