Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/go/go_test.go

    		// #cgo !darwin,!windows LDFLAGS: -Wl,-rpath,$ORIGIN
    		// void f(void) {}
    		import "C"
    		func f() { C.f() }`)
    	tg.setenv("GOPATH", tg.path("."))
    	tg.run("build", "origin")
    }
    
    func TestCgoPkgConfig(t *testing.T) {
    	tooSlow(t, "compiles cgo files")
    	testenv.MustHaveCGO(t)
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    
    	tg.run("env", "PKG_CONFIG")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top