reproduce (this is a W=1 build): # https://github.com/Rust-for-Linux/linux/commit/0b946da807f65eba9c240290b74b195bdf4e85d2 git remote add rust https://github.com/Rust-for-Linux/linux git fetch --no-tags rust pr/1040 git checkout 0b946da807f65eba9c240290b74b195bdf4e85d2 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash CLIPPY=1 rustdoc