agent-ctl: fix the compile error

When the version of libc is upgraded to 0.2.145, older getrandom could not adapt
to new API, and this will make agent-ctl fail to compile.

We upgrade the version of `rand`, so the low version of getrandom will no longer
need.

Fixes: #7032

Signed-off-by: Yushuo <y-shuo@linux.alibaba.com>
This commit is contained in:
Yushuo
2023-06-05 21:03:20 +08:00
parent 465f5a5ced
commit 410bc18143
7 changed files with 549 additions and 639 deletions

View File

@@ -1460,7 +1460,7 @@ dependencies = [
"nix 0.24.3",
"oci",
"once_cell",
"rand 0.7.3",
"rand 0.8.5",
"serde_json",
"slog",
"slog-scope",