mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-24 10:03:39 +00:00
41 lines
1.3 KiB
Python
41 lines
1.3 KiB
Python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "io_bazel_rules_rust",
|
|
sha256 = "b7ac870f4cab1cd7e56fd2cbe303f63d78d21cc1a6e3922f21887d373c090e20",
|
|
strip_prefix = "rules_rust-5a679d418955a122798f42c7bb67c55ca68a2493",
|
|
# Master branch as of 2020-02-24
|
|
url = "https://github.com/dtolnay/rules_rust/archive/5a679d418955a122798f42c7bb67c55ca68a2493.tar.gz",
|
|
)
|
|
|
|
http_archive(
|
|
name = "bazel_skylib",
|
|
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
],
|
|
)
|
|
|
|
load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version")
|
|
|
|
bazel_version(name = "bazel_version")
|
|
|
|
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repository_set")
|
|
|
|
rust_repository_set(
|
|
name = "rust_1_42_beta_linux",
|
|
exec_triple = "x86_64-unknown-linux-gnu",
|
|
extra_target_triples = [],
|
|
iso_date = "2020-02-08",
|
|
version = "beta",
|
|
)
|
|
|
|
rust_repository_set(
|
|
name = "rust_1_42_beta_darwin",
|
|
exec_triple = "x86_64-apple-darwin",
|
|
extra_target_triples = [],
|
|
iso_date = "2020-02-08",
|
|
version = "beta",
|
|
)
|