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

toolchain: panic if go.toolchain.rev doesn't match toolchain #13527

Open
bradfitz opened this issue Sep 20, 2024 · 0 comments
Open

toolchain: panic if go.toolchain.rev doesn't match toolchain #13527

bradfitz opened this issue Sep 20, 2024 · 0 comments

Comments

@bradfitz
Copy link
Member

We had some problems with the Android build lately using the wrong cached Go toolchain.

Let's panic at startup if we detect the wrong Go toolchain in use that doesn't match go.toolchain.rev (and we know that the intent is to use the Tailscale toolchain)

First bit was tailscale/go#104

/cc @raggi

bradfitz added a commit that referenced this issue Sep 20, 2024
Update go.toolchain.rev for tailscale/go#104 and
add a test that, when using the tailscale_go build tag, we use the
right Go toolchain.

We'll crank up the strictness in later commits.

Updates #13527

Change-Id: Ifb09a844858be2beb144a420e4e9dbdc5c03ae3a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz added a commit that referenced this issue Sep 20, 2024
Update go.toolchain.rev for tailscale/go#104 and
add a test that, when using the tailscale_go build tag, we use the
right Go toolchain.

We'll crank up the strictness in later commits.

Updates #13527

Change-Id: Ifb09a844858be2beb144a420e4e9dbdc5c03ae3a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz added a commit to tailscale/tailscale-android that referenced this issue Sep 20, 2024
bradfitz added a commit to tailscale/tailscale-android that referenced this issue Sep 20, 2024
…chain

Updates tailscale/tailscale#13527

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz added a commit to tailscale/tailscale-android that referenced this issue Sep 20, 2024
…chain

Updates tailscale/tailscale#13527

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
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

1 participant