From c9244c19ac8e9989c91d2f8b565c7c8302af0fa8 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Mon, 9 Feb 2026 23:34:12 +0900 Subject: [PATCH] manifest-schema: Disable std prelude --- tools/manifest-schema/src/lib.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/manifest-schema/src/lib.rs b/tools/manifest-schema/src/lib.rs index a78bafb9..f8c864e2 100644 --- a/tools/manifest-schema/src/lib.rs +++ b/tools/manifest-schema/src/lib.rs @@ -4,6 +4,7 @@ Structured access to the install-action manifests. */ +#![no_std] #![doc(test( no_crate_inject, attr(allow( @@ -28,8 +29,13 @@ Structured access to the install-action manifests. #![allow(clippy::missing_panics_doc, clippy::too_long_first_doc_paragraph)] extern crate alloc; +extern crate std; -use alloc::collections::BTreeMap; +use alloc::{ + collections::BTreeMap, + string::{String, ToString as _}, + vec::Vec, +}; use core::{ cmp::{self, Reverse}, fmt, slice,