You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rustdoc doesn't seem to know about target_feature #46317
#[cfg(all(target_feature="avx2", feature="...", ...))]
pub mod avx2;
where ... are various conditions. Removing the target_feature condition results in rustdoc documenting the module when the other conditions are met, but I can't get rustdoc to document the module when the target_feature condition is there. I'm passing the feature to cargo as
Rustdoc gained the -C/--codegen flag in #49956, though you'll need to pass it via RUSTDOCFLAGS or at the end of that cargo rustdoc invocation for it to apply.
Activity
hanna-kruppe commentedon Nov 27, 2017
cc #46189
QuietMisdreavus commentedon Aug 23, 2018
Rustdoc gained the
-C/--codegenflag in #49956, though you'll need to pass it viaRUSTDOCFLAGSor at the end of thatcargo rustdocinvocation for it to apply.