about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbit-aloo <sshourya17@gmail.com>2025-02-23 08:37:10 +0530
committerbit-aloo <sshourya17@gmail.com>2025-02-23 08:37:10 +0530
commit54dd4c87bea51dca48dc3464df3d489c2a717b09 (patch)
treeea5e00495f3ffaac39671408d9b50bb4dd7d9feb /src/bootstrap
parent07697360aee0cebcb4e304236ba1884d8dde5469 (diff)
downloadrust-54dd4c87bea51dca48dc3464df3d489c2a717b09.tar.gz
rust-54dd4c87bea51dca48dc3464df3d489c2a717b09.zip
bootstrap: add module docs for core:metadata
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/metadata.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/metadata.rs b/src/bootstrap/src/core/metadata.rs
index 983674d2c68..01cbf662940 100644
--- a/src/bootstrap/src/core/metadata.rs
+++ b/src/bootstrap/src/core/metadata.rs
@@ -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::path::PathBuf;