diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-11-15 13:57:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 12:57:40 +0000 |
commit | c64d5e9d30c48f59e61439947c63a2b97a45512f (patch) | |
tree | f5dceb92b0ff5bbfcb274ca2c679e6107b6bdcdd /python/servo/platform/base.py | |
parent | 56fed22a5bc3ef000ec6393c9369015d4d68ba5e (diff) | |
download | servo-c64d5e9d30c48f59e61439947c63a2b97a45512f.tar.gz servo-c64d5e9d30c48f59e61439947c63a2b97a45512f.zip |
mach bootstrap: Lock cargo-deny to 0.16.1 (#34258)
As mentioned in https://github.com/servo/servo/pull/34257
we should also lock the cargo-deny version in mach bootstrap.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
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 |