Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkCompilerFlags (0.14 sec)

  1. src/cmd/go/internal/work/security_test.go

    	if err := checkCompilerFlags("TEST", "test", []string{"-disallow"}); err != nil {
    		t.Fatalf("unexpected error for -disallow with CGO_TEST_ALLOW=-disallow: %v", err)
    	}
    	os.Unsetenv("CGO_TEST_ALLOW")
    
    	if err := checkCompilerFlags("TEST", "test", []string{"-Wall"}); err != nil {
    		t.Fatalf("unexpected error for -Wall: %v", err)
    	}
    	os.Setenv("CGO_TEST_DISALLOW", "-Wall")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top