Skip to content

Commit

Permalink
Expose error_format through the stable rust.bzl (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlopko committed Feb 9, 2021
1 parent 7b8d5f3 commit 6267c26
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("//rust/private:rustc.bzl", "error_format")
load("//rust:rust.bzl", "error_format")

exports_files(["LICENSE"])

Expand Down
7 changes: 7 additions & 0 deletions rust/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ load(
_rust_test = "rust_test",
_rust_test_binary = "rust_test_binary",
)
load(
"//rust/private:rustc.bzl",
_error_format = "error_format",
)
load(
"//rust/private:rustdoc.bzl",
_rust_doc = "rust_doc",
Expand Down Expand Up @@ -64,5 +68,8 @@ rust_clippy_aspect = _rust_clippy_aspect
rust_clippy = _rust_clippy
# See @rules_rust//rust/private:clippy.bzl for a complete description.

error_format = _error_format
# See @rules_rust//rust/private:rustc.bzl for a complete description.

rust_common = _rust_common
# See @rules_rust//rust/private:common.bzl for a complete description.

0 comments on commit 6267c26

Please sign in to comment.