- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 164 for lchflags (0.48 sec)
-
src/cmd/go/testdata/script/cgo_undef.txt
# such that the .syso file only works when linked against the .a file. # Package a has #cgo LDFLAGS to make this happen. # # Package c imports package a, and uses cgo itself. # The generation of the _cgo_import.go for package c will fail, # because it won't know that it has to link against a/libb.a # (because we don't gather the #cgo LDFLAGS from all transitively # imported packages). #
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 22 20:56:07 UTC 2022 - 1.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_bad_directives.txt
# Reject #cgo CFLAGS: -D @foo cp y_cflags_dash_d_space_at_foo.txt y.go ! go build x stderr 'invalid flag in #cgo CFLAGS: -D @foo' # Reject #cgo CFLAGS -D@foo cp y_cflags_dash_d_at_foo.txt y.go ! go build x stderr 'invalid flag in #cgo CFLAGS: -D@foo' # Check for CFLAGS in commands env CGO_CFLAGS=-D@foo cp y_no_cflags.txt y.go go build -n x stderr '-D@foo' -- go.mod --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_gcflags_order.txt
# Tests golang.org/issue/47682 # Flags specified with -gcflags should appear after other flags generated by cmd/go. cd m go build -n -gcflags=-lang=go1.17 stderr ' -lang=go1.16.* -lang=go1.17' ! go build -gcflags='-c 0' stderr 'compile: -c must be at least 1, got 0' -- m/go.mod -- module example.com go 1.16 -- m/main.go -- package main func main() { var s = []int{1, 2, 3} var pa = (*[2]int)(s[1:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 07 22:22:37 UTC 2023 - 435 bytes - Viewed (0) -
src/syscall/syscall_dragonfly.go
//sys Chdir(path string) (err error) //sys Chflags(path string, flags int) (err error) //sys Chmod(path string, mode uint32) (err error) //sys Chown(path string, uid int, gid int) (err error) //sys Chroot(path string) (err error) //sys Close(fd int) (err error) //sys Dup(fd int) (nfd int, err error) //sys Dup2(from int, to int) (err error) //sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/gccgo_link_ldflags.txt
# Test that #cgo LDFLAGS are properly quoted. # The #cgo LDFLAGS below should pass a string with spaces to -L, # as though searching a directory with a space in its name. # It should not pass --nosuchoption to the external linker. [!cgo] skip go build [!exec:gccgo] skip # TODO: remove once gccgo on builder is updated [GOOS:aix] [GOARCH:ppc64] skip go build -compiler gccgo -- go.mod -- module m -- cgo.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 06:52:47 UTC 2023 - 499 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_compiler_output.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 21 19:37:23 UTC 2022 - 233 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_link_x_import_path_escape.txt
[compiler:gccgo] skip 'gccgo does not support -ldflags -X' go build -o linkx$GOEXE -ldflags -X=my.pkg.Text=linkXworked my.pkg/main exec ./linkx$GOEXE stderr '^linkXworked$' -- go.mod -- module my.pkg go 1.16 -- main/main.go -- package main import "my.pkg" func main() { println(pkg.Text) } -- pkg.go -- package pkg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 341 bytes - Viewed (0) -
src/cmd/go/note_test.go
// This test is essentially checking that -ldflags=-buildid=XXX works, // both in internal and external linking mode. tg := testgo(t) defer tg.cleanup() tg.parallel() tg.tempFile("hello.go", `package main; func main() { print("hello, world\n") }`) const buildID = "TestNoteReading-Build-ID" tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 20 17:26:46 UTC 2023 - 2.5K bytes - Viewed (0) -
src/syscall/syscall_freebsd.go
//sys Chdir(path string) (err error) //sys Chflags(path string, flags int) (err error) //sys Chmod(path string, mode uint32) (err error) //sys Chown(path string, uid int, gid int) (err error) //sys Chroot(path string) (err error) //sys Close(fd int) (err error) //sys Dup(fd int) (nfd int, err error) //sys Dup2(from int, to int) (err error) //sys Fchdir(fd int) (err error) //sys Fchflags(fd int, flags int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 18:12:35 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_gcflags.txt
# Test that the user can override default code generation flags. [compiler:gccgo] skip # gccgo does not use -gcflags [!cgo] skip [!GOOS:linux] skip # test only works if c-archive implies -shared [short] skip env GOCACHE=$WORK/gocache # Looking for compile commands, so need a clean cache. go build -x -n -buildmode=c-archive -gcflags=all=-shared=false ./override.go stderr '^.*/compile (.* )?-shared (.* )?-shared=false' -- override.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 541 bytes - Viewed (0)