emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode fac4a24 336/495: go.tools/importer: negate "cgo" b


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode fac4a24 336/495: go.tools/importer: negate "cgo" build tag to avoid native code in "net".
Date: Sat, 7 Aug 2021 09:05:43 -0400 (EDT)

branch: elpa/go-mode
commit fac4a24570dcb0f0efc4bf642366a720b364086b
Author: Alan Donovan <adonovan@google.com>
Commit: Dominik Honnef <dominik@honnef.co>

    go.tools/importer: negate "cgo" build tag to avoid native code in "net".
    
    This removes the need for the caller to specify CGO_ENABLED=0
    in the environment.
    
    R=crawshaw
    CC=golang-dev
    https://golang.org/cl/13464045
---
 guru_import/cmd/oracle/oracle.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guru_import/cmd/oracle/oracle.el b/guru_import/cmd/oracle/oracle.el
index 66eed91..3a5d1c7 100644
--- a/guru_import/cmd/oracle/oracle.el
+++ b/guru_import/cmd/oracle/oracle.el
@@ -101,7 +101,7 @@ result."
 
         (message "Running oracle...")
         ;; Use dynamic binding to modify/restore the environment
-        (let ((process-environment (list* goroot-env gopath-env 
"CGO_ENABLED=0" process-environment)))
+        (let ((process-environment (list* goroot-env gopath-env 
process-environment)))
             (apply #'call-process args)))
       (insert "\n")
       (compilation-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]