We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a586af9 commit 5df10eaCopy full SHA for 5df10ea
rustls-platform-verifier/src/lib.rs
@@ -1,4 +1,4 @@
1
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
2
#![doc = include_str!("../README.md")]
3
#![warn(missing_docs)]
4
@@ -9,9 +9,10 @@ mod verification;
9
pub use verification::Verifier;
10
11
// Build the Android module when generating docs so that
12
-// the Android-specific functions are included.
13
-#[cfg_attr(docsrs, cfg(any(target_os = "android", doc)))]
14
-#[cfg_attr(not(docsrs), cfg(target_os = "android"))]
+// the Android-specific functions are included regardless of
+// the host.
+#[cfg(any(all(doc, docsrs), target_os = "android"))]
15
+#[cfg_attr(docsrs, doc(cfg(target_os = "android")))]
16
pub mod android;
17
18
#[cfg(windows)]
0 commit comments