Skip to content

Commit 331cc83

Browse files
ci/docs: Patch socket2 as well
1 parent fd3168e commit 331cc83

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
find ~/.cargo/registry/src -name "lib.rs" -path "*/rand_core-*/src/lib.rs" -exec \
5151
sed -i 's/doc_auto_cfg/doc_cfg/g' {} \; || true
5252
53+
# Patch socket2 crate
54+
find ~/.cargo/registry/src -name "lib.rs" -path "*/socket2-*/src/lib.rs" -exec \
55+
sed -i 's/doc_auto_cfg/doc_cfg/g' {} \; || true
56+
5357
- env:
5458
RUSTFLAGS: --cfg docsrs
5559
RUSTDOCFLAGS: --cfg docsrs

0 commit comments

Comments
 (0)