Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGopathShlib (0.1 sec)

  1. src/cmd/cgo/internal/testshared/shared_test.go

    	defer os.Remove(name)
    	run(t, name, "./"+name)
    	checkPIE(t, name)
    }
    
    // Build a GOPATH package into a shared library that links against the goroot runtime
    // and an executable that links against both.
    func TestGopathShlib(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "install", "-buildmode=shared", "-linkshared", "./depBase")
    	shlib := goCmd(t, "list", "-f", "{{.Shlib}}", "-buildmode=shared", "-linkshared", "./depBase")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
Back to top