Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.Bazel.json.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"checksum": "76e51ba4f0a9cd9d1eece5abd2ecd00b308907d26af0bc3b1cccaa337e99d1af",
"checksum": "0b2ff2af8892a5691db30253453eaf3804fc1a00ee76e7a0a299c4121c8df948",
"crates": {
"actix-codec 0.5.1": {
"name": "actix-codec",
Expand Down
34 changes: 0 additions & 34 deletions bazel/rules_rust_dep_env.patch

This file was deleted.

9 changes: 4 additions & 5 deletions bazel/rust.MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@
bazel_dep(name = "rules_rust", version = "0.71.3")
archive_override(
module_name = "rules_rust",
integrity = "sha256-h8txtdi9xcNfgjdTBYX+R9CEsxKDucJx+OPvezmkTQM=",
integrity = "sha256-Suf3ncbfLjBtDNj/zlLmQzmooL5+fOfRex73QEvqtuI=",
patch_strip = 1,
patches = [
# Configure per-compilation-mode strip levels, which the native
# `rust.toolchain` tag's flat `strip_level` string_dict cannot express
# (https://github.com/bazelbuild/rules_rust/issues/3730).
"//bazel:rules_rust_strip_level.patch",
# Fix cross-crate DEP_* env vars being redacted to an `${out_dir}` token
# that downstream crates' build scripts cannot resolve (see patch header).
"//bazel:rules_rust_dep_env.patch",
],
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.71.3/rules_rust-0.71.3.tar.gz"],
strip_prefix = "rules_rust-5f04c8c14c2ffacfe10ad14e55298be21454be04",
type = "tar.gz",
urls = ["https://codeload.github.com/bazelbuild/rules_rust/tar.gz/5f04c8c14c2ffacfe10ad14e55298be21454be04"],
)

rust = use_extension("@rules_rust//rust:extensions.bzl", "rust")
Expand Down
2 changes: 1 addition & 1 deletion rs/pocket_ic_server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ MAINNET_NNS_CANISTER_ENV = {
] + glob([
"src/state_api/**/*.rs",
]),
compile_data = EXTERNAL_CANISTER_DATA + nns_canister_data,
compile_data = EXTERNAL_CANISTER_DATA + nns_canister_data + ["templates/dashboard.html"],
crate_name = "pocket_ic_server",
proc_macro_deps = [
# Keep sorted.
Expand Down
Loading