Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLdFlagsLongArgumentsIssue42295 (0.46 sec)

  1. src/cmd/go/go_test.go

    			println(extern)
    		}`)
    	tg.run("run", "-ldflags", `-X "main.extern=hello world"`, tg.path("main.go"))
    	tg.grepStderr("^hello world", `ldflags -X "main.extern=hello world"' failed`)
    }
    
    func TestLdFlagsLongArgumentsIssue42295(t *testing.T) {
    	// Test the extremely long command line arguments that contain '\n' characters
    	// get encoded and passed correctly.
    	skipIfGccgo(t, "gccgo does not support -ldflags -X")
    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