diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index dc13804c63..7dbf4900ac 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -64,7 +64,10 @@ jobs:
lfs: true
- name: Install rust toolchain
# The script for rustdoc build requires nightly toolchain.
- uses: dtolnay/rust-toolchain@nightly
+ uses: dtolnay/rust-toolchain@master
+ with:
+ # TODO 24-02-06: this is pinned due to tkaitchuck/aHash#200.
+ toolchain: nightly-2024-02-01
- name: Load rust cache
uses: astriaorg/buildjet-rust-cache@v2.5.1
- name: Build rustdocs
diff --git a/deployments/scripts/rust-docs b/deployments/scripts/rust-docs
index 3d6c49731d..c31a56964c 100755
--- a/deployments/scripts/rust-docs
+++ b/deployments/scripts/rust-docs
@@ -17,7 +17,8 @@ export RUSTDOCFLAGS="--enable-index-page -Zunstable-options --cfg docsrs"
# Doing this in one go is useful because the JSON file with search
# indexes is overwritten on each cargo doc invocation.
-cargo +nightly doc --no-deps \
+# cargo +nightly doc --no-deps \
+cargo +nightly-2024-02-01 doc --no-deps \
-p tendermint \
-p tendermint-config \
-p ibc-types \
diff --git a/docs/rustdoc/index.html b/docs/rustdoc/index.html
index e877b8c9e1..5269cf77d0 100644
--- a/docs/rustdoc/index.html
+++ b/docs/rustdoc/index.html
@@ -1,2 +1,2 @@
-
Index of crates
-
\ No newline at end of file
+Index of crates
+
\ No newline at end of file