We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e84e493 commit c8b81edCopy full SHA for c8b81ed
crates/header-translator/src/default_cargo.toml
@@ -20,6 +20,7 @@ workspace = true
20
[package.metadata.docs.rs]
21
default-target = "UNSET"
22
features = ["all"]
23
+rustc-args = ["--cfg", "docsrs"] # Fix cross-crate link to objc2::topics
24
targets = [
25
]
26
crates/objc2/src/lib.rs
@@ -211,7 +211,7 @@ pub mod runtime;
211
#[cfg(test)]
212
mod test_utils;
213
mod top_level_traits;
214
-#[cfg(any(doc, doctest, test))]
+#[cfg(any(docsrs, doc, doctest, test))]
215
pub mod topics;
216
mod verify;
217
0 commit comments