kata: pin indexmap crate version to 1.8

indexmap is a dependency crate of serde_ymal, which only loosely
specifies the major release version of indexmap. indexmap > 1.9.0
requires a newer version of Cargo (> 1.56.0-nightly). We can pin
the indexmap version to avoid updating the Cargo toolchain.

Change-Id: I66abb47ca58d081bb1dfe423ccb06b46859fd03e
GitOrigin-RevId: 77428ed6927a9634ccea4d644a221b835c4e6592
This commit is contained in:
Cindy Liu 2022-06-17 01:17:33 -07:00 committed by Sam Leffler
parent 2b0dd2eb8b
commit ae9476aa3b

View File

@ -10,6 +10,9 @@ build = "build.rs"
sel4-config = { path = "../sel4-config" }
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
# serde_yaml has a caret version requirement for indexmap ("^1.5.2"). Specify
# the version here so we can keep using the cargo 1.56.0-nightly toolchain.
indexmap = "=1.8"
[build-env]
SEL4_OUT_DIR = "${ROOTDIR}out/kata/kernel"