Add documentation for conditional-compilation

This documents in-source conditions using #[cfg(...)] and configurations
pre-defined by the compiler.

Fix #7962.
auto merge of #12220 : tbu-/rust/pr_doc_condb, r=alexcrichton

Add documentation for conditional compilation

This documents in-source conditions using #[cfg(...)] and configurations
pre-defined by the compiler.

Fix #7962.