diff --git a/swift/swift_common.bzl b/swift/swift_common.bzl index 72d194e19..1bc1bd806 100644 --- a/swift/swift_common.bzl +++ b/swift/swift_common.bzl @@ -18,9 +18,6 @@ This module is meant to be used by custom rules that need to compile Swift code and cannot simply rely on writing a macro that wraps `swift_library`. For example, `swift_proto_library` generates Swift source code from `.proto` files and then needs to compile them. This module provides that lower-level interface. - -Do not load this file directly; instead, load the top-level `swift.bzl` file, -which exports the `swift_common` module. """ load( diff --git a/swift/toolchains/xcode_swift_toolchain.bzl b/swift/toolchains/xcode_swift_toolchain.bzl index 96518ac97..ab5c2f4c1 100644 --- a/swift/toolchains/xcode_swift_toolchain.bzl +++ b/swift/toolchains/xcode_swift_toolchain.bzl @@ -16,7 +16,7 @@ The rules defined in this file are not intended to be used outside of the Swift toolchain package. If you are looking for rules to build Swift code using this -toolchain, see `swift.bzl`. +toolchain, see `doc/rules.md`. """ load("@bazel_features//:features.bzl", "bazel_features")