nouveau/headers: Ignore PermissionError in rustfmt

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13172
Fixes: 591b5da4 ("nouveau/headers: Run rustfmt on generated files")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35008>
This commit is contained in:
Mel Henning
2025-05-15 16:17:20 -04:00
committed by Marge Bot
parent da22094593
commit bfe8340296
+1 -1
View File
@@ -121,7 +121,7 @@ def main():
try:
subprocess.run(['rustfmt', args.out_rs], check=True)
except (subprocess.CalledProcessError, FileNotFoundError):
except (subprocess.CalledProcessError, FileNotFoundError, PermissionError):
pass
if __name__ == '__main__':