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 = "2466e5b2514772e84f9009010797b9cd4b51c1e6445bbd5b5e24848d90e6fb2e",
|
|
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.18.0/rules_rust-v0.18.0.tar.gz"],
|
|
)
|
|
|
|
load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
|
|
|
|
rules_rust_dependencies()
|
|
|
|
rust_register_toolchains(
|
|
versions = ["1.67.0"],
|
|
)
|
|
|
|
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
|
|
|
|
crate_universe_dependencies()
|
|
|
|
load("//third-party/bazel:defs.bzl", "crate_repositories")
|
|
|
|
crate_repositories()
|