diff options
Diffstat (limited to 'python/servo/platform/base.py')
-rw-r--r-- | python/servo/platform/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/servo/platform/base.py b/python/servo/platform/base.py index 6fb2f535f4e..b328b41a0d9 100644 --- a/python/servo/platform/base.py +++ b/python/servo/platform/base.py @@ -83,7 +83,8 @@ class Base: return False print(" * Installing cargo-deny...") - if subprocess.call(["cargo", "install", "cargo-deny", "--locked"]) != 0: + # cargo-deny 0.16.2 requires Rust 1.81. + if subprocess.call(["cargo", "install", "cargo-deny", "--locked", "--version", "0.16.1"]) != 0: raise EnvironmentError("Installation of cargo-deny failed.") return True |