Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .fastly/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ config_version = 2
api_endpoint = "https://api.fastly.com"

[language]
[language.go]
tinygo_constraint = ">= 0.24.0-0" # NOTE -0 indicates to the CLI's semver package that we accept pre-releases (TinyGo users commonly use pre-releases).
toolchain_constraint = ">= 1.17"
[language.go]
tinygo_constraint = ">= 0.26.0-0" # NOTE -0 indicates to the CLI's semver package that we accept pre-releases (TinyGo users commonly use pre-releases).
toolchain_constraint = ">= 1.17"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TinyGo 0.26 dropped support for Go 1.17: https://github.com/tinygo-org/tinygo/releases/tag/v0.26.0

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! OK cool will update that. Thanks!


[language.rust]
toolchain_constraint = ">= 1.56.1"
wasm_wasi_target = "wasm32-wasi"
[language.rust]
toolchain_constraint = ">= 1.56.1"
wasm_wasi_target = "wasm32-wasi"

[viceroy]
ttl = "24h"
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ semgrep:
if command -v semgrep &> /dev/null; then semgrep ci --config auto --exclude-rule go.lang.security.audit.xss.import-text-template.import-text-template $(SEMGREP_ARGS); fi

# Run third-party static analysis.
# To ignore lines use: //lint:ignore <CODE> <REASON>
.PHONY: staticcheck
staticcheck:
staticcheck ./{cmd,pkg}/...
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/compute/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func TestBuildGo(t *testing.T) {
applicationConfig: config.File{
Language: config.Language{
Go: config.Go{
TinyGoConstraint: ">= 0.24.0-0",
TinyGoConstraint: ">= 0.26.0-0",
ToolchainConstraint: ">= 1.17",
},
},
Expand All @@ -275,7 +275,7 @@ func TestBuildGo(t *testing.T) {
applicationConfig: config.File{
Language: config.Language{
Go: config.Go{
TinyGoConstraint: ">= 0.24.0-0",
TinyGoConstraint: ">= 0.26.0-0",
ToolchainConstraint: ">= 1.17",
},
},
Expand All @@ -296,7 +296,7 @@ func TestBuildGo(t *testing.T) {
applicationConfig: config.File{
Language: config.Language{
Go: config.Go{
TinyGoConstraint: ">= 0.24.0-0",
TinyGoConstraint: ">= 0.26.0-0",
ToolchainConstraint: ">= 1.17",
},
},
Expand Down