- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for syscallExecSupported (0.14 sec)
-
src/cmd/link/internal/ld/execarchive_noexec.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasm || windows package ld const syscallExecSupported = false func (ctxt *Link) execArchive(argv []string) { panic("should never arrive here")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 320 bytes - Viewed (0) -
src/cmd/link/internal/ld/execarchive.go
// license that can be found in the LICENSE file. //go:build !wasm && !windows package ld import ( "os" "os/exec" "path/filepath" "syscall" ) const syscallExecSupported = true // execArchive invokes the archiver tool with syscall.Exec(), with // the expectation that this is the last thing that takes place // in the linking operation. func (ctxt *Link) execArchive(argv []string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 876 bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// This will reduce peak RSS for the link (and speed up linking of // large applications), since when the archive command runs we // won't be holding onto all of the linker's live memory. if syscallExecSupported && !ownTmpDir { runAtExitFuncs() ctxt.execArchive(argv) panic("should not get here") } // Otherwise invoke 'ar' in the usual way (fork + exec).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)