Feature/crate disable in rust build

Is there a way to disable any feature/crate in rust build (In my case, I am trying to disable rustdoc feature)? I tried to disable it by adding it to the exclude list in Cargo.toml file but ended up in build errors. (error[E0609]: no field safe on type &ItemUnion<'a, 'cx>. error: could not compile rustdoc (lib) due to previous error)

To build just the compiler, x.py build rustc I think

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.