github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/misc/nacl/go_nacl_amd64p32_exec (about)

     1  #!/bin/bash
     2  
     3  eval $(go env)
     4  
     5  export NACLENV_GOARCH=$GOARCH
     6  export NACLENV_GOOS=$GOOS
     7  export NACLENV_GOROOT=/go
     8  export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")
     9  
    10  exec sel_ldr_x86_64 -l /dev/null -S -e "$@"