From ae9476aa3b0c1a057e88b2cb840c1d385a174037 Mon Sep 17 00:00:00 2001 From: Cindy Liu Date: Fri, 17 Jun 2022 01:17:33 -0700 Subject: [PATCH] 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 --- apps/system/components/kata-os-common/src/model/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/system/components/kata-os-common/src/model/Cargo.toml b/apps/system/components/kata-os-common/src/model/Cargo.toml index 88bd469..f76f8c2 100644 --- a/apps/system/components/kata-os-common/src/model/Cargo.toml +++ b/apps/system/components/kata-os-common/src/model/Cargo.toml @@ -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"