Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MustLinkExternal (0.12 sec)

  1. src/syscall/exec_linux_test.go

    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    	d := t.TempDir()
    
    	// Since we are doing a chroot, we need the binary there,
    	// and it must be statically linked.
    	testenv.MustHaveGoBuild(t)
    	if platform.MustLinkExternal(runtime.GOOS, runtime.GOARCH, false) {
    		t.Skipf("skipping: can't build static binary because %s/%s requires external linking", runtime.GOOS, runtime.GOARCH)
    	}
    	x := filepath.Join(d, "syscall.test")
    	t.Cleanup(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top