mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: bazel packaging
This commit is contained in:
14
MODULE.bazel
14
MODULE.bazel
@@ -63,6 +63,20 @@ r.from_cargo(
|
||||
)
|
||||
use_repo(r, ruby_deps = "rd")
|
||||
|
||||
rsp = use_extension(
|
||||
"@rules_rust//crate_universe:extension.bzl",
|
||||
"crate",
|
||||
isolate = True,
|
||||
)
|
||||
rsp.from_cargo(
|
||||
name = "rs_deps",
|
||||
cargo_lockfile = "//rust/extractor:Cargo.lock",
|
||||
manifests = [
|
||||
"//rust/extractor:Cargo.toml",
|
||||
],
|
||||
)
|
||||
use_repo(rsp, rust_deps = "rs_deps")
|
||||
|
||||
dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
|
||||
dotnet.toolchain(dotnet_version = "8.0.101")
|
||||
use_repo(dotnet, "dotnet_toolchains")
|
||||
|
||||
Reference in New Issue
Block a user