1
Fork 0

Rollup merge of #137452 - Shourya742:2025-02-23-add-module-level-doc-for-core-metadata, r=Kobzol

bootstrap: add module docs for core:metadata

Add module doc for bootstrap:core:metadata
This commit is contained in:
Trevor Gross 2025-02-23 14:30:28 -05:00 committed by GitHub
commit e8342e7d42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,10 @@
//! This module interacts with Cargo metadata to collect and store information about
//! the packages in the Rust workspace.
//!
//! It runs `cargo metadata` to gather details about each package, including its name,
//! source, dependencies, targets, and available features. The collected metadata is then
//! used to update the `Build` structure, ensuring proper dependency resolution and
//! compilation flow.
use std::collections::BTreeMap; use std::collections::BTreeMap;
use std::path::PathBuf; use std::path::PathBuf;