Skip to content

Commit 1d10e6b

Browse files
committed
Include cust_raw in cargo doc testing on CI.
1 parent e4e5ed3 commit 1d10e6b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci_linux.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ jobs:
168168
run: |
169169
docker exec "$CONTAINER_NAME" bash -lc 'set -euo pipefail
170170
export RUSTDOCFLAGS=-Dwarnings
171-
cargo doc --workspace --all-features --document-private-items --no-deps \
172-
--exclude cust_raw
171+
cargo doc --workspace --all-features --document-private-items --no-deps
173172
'
174173
175174
- name: Normalize build artifacts ownership

.github/workflows/ci_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
- name: Check documentation
111111
env:
112112
RUSTDOCFLAGS: -Dwarnings
113-
run: cargo doc --workspace --all-features --document-private-items --no-deps --exclude cudnn --exclude cudnn-sys --exclude cust_raw
113+
run: cargo doc --workspace --all-features --document-private-items --no-deps --exclude cudnn --exclude cudnn-sys
114114

115115
# Disabled due to dll issues, someone with Windows knowledge needed
116116
# - name: Compiletest

crates/cust_raw/build/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ fn create_cuda_driver_bindings(
154154
.size_t_is_usize(true)
155155
.layout_tests(true)
156156
.must_use_type("CUresult")
157+
// njn: explain
158+
.generate_comments(false)
157159
.generate()
158160
.expect("Unable to generate CUDA driver bindings.");
159161
bindings

0 commit comments

Comments
 (0)