From 38bf38c514372fc532b4737a7e33cab5af0eb60e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 25 Jan 2023 11:00:34 -0600 Subject: [PATCH] Flag to rustdoc component support requires a feature (#5632) This helps render the information "officially" in documentation. --- crates/wasmtime/src/component/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/wasmtime/src/component/mod.rs b/crates/wasmtime/src/component/mod.rs index c795d2f70b..3ff3e6e7bc 100644 --- a/crates/wasmtime/src/component/mod.rs +++ b/crates/wasmtime/src/component/mod.rs @@ -3,6 +3,8 @@ //! This module is a work-in-progress and currently represents an incomplete and //! probably buggy implementation of the component model. +#![cfg_attr(nightlydoc, doc(cfg(feature = "component-model")))] + mod component; mod func; mod instance;