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

GOROOT or something is incorrect when opening terminal #9

Open
sago35 opened this issue Nov 16, 2022 · 2 comments
Open

GOROOT or something is incorrect when opening terminal #9

sago35 opened this issue Nov 16, 2022 · 2 comments

Comments

@sago35
Copy link
Member

sago35 commented Nov 16, 2022

After using TinyGo extension, GOROOT or something is incorrect when opening terminal.

image

Probably due to the environment variables set below.

envVars.GOOS = goos ? goos: undefined;
envVars.GOARCH = goarch ? goarch: undefined;
envVars.GOROOT = goroot ? goroot: undefined;
envVars.GOFLAGS = buildTags ? "-tags="+(buildTags.split(' ').join(',')) : undefined;

@aykevl
Copy link
Member

aykevl commented Nov 16, 2022

This is intentional. Why is this a problem?

@sago35
Copy link
Member Author

sago35 commented Nov 17, 2022

In my case, for example, I write udp server and usbcdc apps in go.
And these applications are often managed along with microcontroller-side sources written in tinygo.

In such a case, I would want to build from the vscode terminal.

In other cases, when writing wasm, we often set up the server with go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants