Do not use crown when building docs (#32220)

This commit is contained in:
Samson 2024-05-04 08:00:00 +02:00 committed by GitHub
parent d297eb1f06
commit 383607d01e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,6 +252,7 @@ class PostBuildCommands(CommandBase):
params.insert(0, "--keep-going")
env = self.build_env()
env["RUSTC"] = "rustc"
returncode = self.run_cargo_build_like_command("doc", params, env=env, **kwargs)
if returncode:
return returncode