mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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>
This commit is contained in:
parent
56fed22a5b
commit
c64d5e9d30
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue