Skip to content

Commit 54dd4c8

Browse files
committed
bootstrap: add module docs for core:metadata
1 parent 0769736 commit 54dd4c8

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)