You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			420 B
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			28 lines
		
	
	
		
			420 B
		
	
	
	
		
			Plaintext
		
	
exec go build
 | 
						|
exec ./main
 | 
						|
cmp stdout main.stdout-orig
 | 
						|
bingrep main$exe '\(devel\)'
 | 
						|
 | 
						|
garble build
 | 
						|
exec ./main
 | 
						|
cmp stdout main.stdout
 | 
						|
! bingrep main$exe '\(devel\)'
 | 
						|
 | 
						|
-- go.mod --
 | 
						|
module foo.com/main
 | 
						|
-- main.go --
 | 
						|
package main
 | 
						|
 | 
						|
import (
 | 
						|
	"fmt"
 | 
						|
	"runtime/debug"
 | 
						|
)
 | 
						|
 | 
						|
func main() {
 | 
						|
	fmt.Println(debug.ReadBuildInfo())
 | 
						|
}
 | 
						|
-- main.stdout-orig --
 | 
						|
&{foo.com/main {foo.com/main (devel)  <nil>} []} true
 | 
						|
-- main.stdout --
 | 
						|
<nil> false
 |