Skip to content

Commit ed229ca

Browse files
committed
f stable?
1 parent 94ff357 commit ed229ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
check_docs:
237237
runs-on: self-hosted
238238
env:
239-
TOOLCHAIN: nightly
239+
TOOLCHAIN: stable
240240
steps:
241241
- name: Checkout source code
242242
uses: actions/checkout@v4
@@ -247,6 +247,8 @@ jobs:
247247
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
248248
- name: Simulate docs.rs build
249249
run: ci/check-docsrs.sh
250+
env:
251+
RUSTFLAGS: 'RUSTC_BOOTSTRAP=1'
250252

251253
fuzz:
252254
runs-on: self-hosted

ci/check-docsrs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ for CRATE in "${WORKSPACE_MEMBERS[@]}"; do
3535
done < /tmp/ldk-docsrs-rustdoc-config.txt
3636
rm /tmp/ldk-docsrs-rustdoc-config.txt
3737
echo "Building $CRATE with args $CARGO_ARGS and flags $RUSTFLAGS"
38-
cargo doc $CARGO_ARGS
38+
RUSTC_BOOTSTRAP=1 cargo doc $CARGO_ARGS
3939
popd
4040
done

0 commit comments

Comments
 (0)