Skip to content

Commit 18ddf32

Browse files
authored
Unrolled build for rust-lang#137452
Rollup merge of rust-lang#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 f8a913b + 54dd4c8 commit 18ddf32

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)