-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Description
With this WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_rust",
sha256 = "9f38c5fbf37b0dc445fe54558e14ac000cca0be6907251c6df21ba236acd59a8",
strip_prefix = "rules_rust-ec436b5ff2ab1ddeba6f27a7a1a5d263812981a6",
urls = [
# Master branch as of 2019-11-11
"https://github.com/bazelbuild/rules_rust/archive/ec436b5ff2ab1ddeba6f27a7a1a5d263812981a6.zip",
],
)
http_archive(
name = "bazel_skylib",
sha256 = "9a737999532daca978a158f94e77e9af6a6a169709c0cee274f0a4c3359519bd",
strip_prefix = "bazel-skylib-1.0.0",
url = "https://github.com/bazelbuild/bazel-skylib/archive/1.0.0.tar.gz",
)
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
rust_repositories()
load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version")
bazel_version(name = "bazel_version")
And bazel version 1.1.0, bazel fetch fails with
ERROR: error loading package 'rust': in /home/jon/.cache/bazel/_bazel_jon/66db7c3492b5fc3fa5db2c66360c215b/external/io_bazel_rules_rust/bindgen/bindgen.bzl: in /home/jon/.cache/bazel/_bazel_jon/66db7c3492b5fc3fa5db2c66360c215b/external/io_bazel_rules_rust/rust/rust.bzl: in /home/jon/.cache/bazel/_bazel_jon/66db7c3492b5fc3fa5db2c66360c215b/external/io_bazel_rules_rust/rust/private/rustdoc_test.bzl: in /home/jon/.cache/bazel/_bazel_jon/66db7c3492b5fc3fa5db2c66360c215b/external/io_bazel_rules_rust/rust/private/rustc.bzl: Unable to load file '@bazel_version//:def.bzl': file doesn't exist
The crux of this appears to be
Unable to load file '@bazel_version//:def.bzl': file doesn't exist
Metadata
Metadata
Assignees
Labels
No labels