Skip to content

Commit

Permalink
comment for GoToolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jayconrod committed Dec 1, 2019
1 parent 36d41b0 commit 385e9d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions v5/internal/providers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ GoLibrary = provider(
},
)

# GoToolchain is a dummy provider that serves as documentation for the
# public interface of the ToolchainInfo provide returned by go_toolchain.
# Toolchains compatible with @rules_go_simple//v5:toolchain_type must
# satisfy this interface. However, no GoToolchain object is actually created.
GoToolchain = provider(
doc = "Contains information about a Go toolchain",
fields = {
Expand Down
4 changes: 0 additions & 4 deletions v5/internal/toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ load(
"@bazel_skylib//lib:paths.bzl",
"paths",
)
load(
":providers.bzl",
"GoToolchain",
)
load(
":actions.bzl",
"go_build_test",
Expand Down

0 comments on commit 385e9d8

Please sign in to comment.