Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/dist/supported_test.go

    package main
    
    import (
    	"internal/platform"
    	"testing"
    )
    
    // TestSupported tests that dist and the main tools agree on
    // which build modes are supported for a given target. We do things
    // this way because the dist tool needs to be buildable directly by
    // the bootstrap compiler, and as such can't import internal packages.
    func TestSupported(t *testing.T) {
    	defer func(a, o string) {
    		goarch = a
    		goos = o
    	}(goarch, goos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top