Skip to content

Commit e8342e7

Browse files
authored
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
2 parents 781203d + 54dd4c8 commit e8342e7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/bootstrap/src/core/metadata.rs

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

0 commit comments

Comments
 (0)