- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCgoImportsIgnored (3.77 sec)
-
src/go/build/build_test.go
t.Fatalf("package path %q appears in error %d times; should appear once\nerror: %v", pkgPath, n, err) } } // TestCgoImportsIgnored checks that imports in cgo files are not included // in the imports list when cgo is disabled. // Verifies golang.org/issue/35946. func TestCgoImportsIgnored(t *testing.T) { ctxt := Default ctxt.CgoEnabled = false p, err := ctxt.ImportDir("testdata/cgo_disabled", 0) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0)