File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ description = """
15
15
Raw FFI bindings to platform libraries like libc.
16
16
"""
17
17
18
+ [package .metadata .docs .rs ]
19
+ features = [" const-extern-fn" , " extra_traits" ]
20
+
18
21
[dependencies ]
19
22
rustc-std-workspace-core = { version = " 1.0.0" , optional = true }
20
23
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ while read -r target; do
51
51
52
52
# If cargo doc fails, then try with unstable feature:
53
53
if ! cargo doc --target " ${target} " \
54
- --no-default-features --features extra_traits ; then
54
+ --no-default-features --features const-extern-fn, extra_traits ; then
55
55
cargo doc --target " ${target} " \
56
56
-Z build-std=core,alloc \
57
- --no-default-features --features extra_traits
57
+ --no-default-features --features const-extern-fn, extra_traits
58
58
fi
59
59
60
60
mkdir -p " ${TARGET_DOC_DIR} /${target} "
You can’t perform that action at this time.
0 commit comments