Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ Extension: prevent loading the env into the compiler #308

Closed
infiniteregrets opened this issue Aug 30, 2022 · 0 comments
Closed

Comments

@infiniteregrets
Copy link
Contributor

After a run on the goland IDE and intellij ultimate with golang plugn:
it seems like the process is being run like so:

GOROOT=/opt/homebrew/Cellar/go/1.18.4/libexec #gosetup
GOPATH=/Users/mehularora/go #gosetup
/opt/homebrew/Cellar/go/1.18.4/libexec/bin/go build -o /private/var/folders/sh/wljlm6jj0bd472x2c7c1tcxw0000gn/T/GoLand/___10go_build_main_go -gcflags all=-N -l /Users/mehularora/Documents/go-test/main.go #gosetup

which means we are being loaded into the compiler rather than the process after we inject the env as done in #300

we have the following options here,

  • understand if we can make intellij not load us into the compilation step
  • infer that it is the compiler we are loading into at layer level and not load/if its the debugger then also don't load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants