mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
26 lines
708 B
Python
26 lines
708 B
Python
workspace(name = "cxx.rs")
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "rules_rust",
|
|
sha256 = "aaaa4b9591a5dad8d8907ae2dbe6e0eb49e6314946ce4c7149241648e56a1277",
|
|
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.16.1/rules_rust-v0.16.1.tar.gz"],
|
|
)
|
|
|
|
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
|
|
|
rules_rust_dependencies()
|
|
|
|
rust_register_toolchains(
|
|
versions = ["1.66.0"],
|
|
)
|
|
|
|
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
|
|
|
|
crate_universe_dependencies()
|
|
|
|
load("//third-party/bazel:defs.bzl", "crate_repositories")
|
|
|
|
crate_repositories()
|