Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GO_BREAK_CLANG (0.21 sec)

  1. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    }
    -- fakeclang/main.go --
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	if os.Getenv("GO_BREAK_CLANG") != "" {
    		os.Stderr.WriteString("GO_BREAK_CLANG is set\n")
    		os.Exit(1)
    	}
    
    	b, err := os.ReadFile(filepath.Join(os.Getenv("WORK"), ".realclang"))
    	if err != nil {
    		log.Fatal(err)
    	}
    	clang := string(bytes.TrimSpace(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top