Skip to content

Commit

Permalink
Rollup merge of rust-lang#137452 - Shourya742:2025-02-23-add-module-l…
Browse files Browse the repository at this point in the history
…evel-doc-for-core-metadata, r=Kobzol

bootstrap: add module docs for core:metadata

Add module doc for bootstrap:core:metadata
  • Loading branch information
tgross35 authored Feb 23, 2025
2 parents 781203d + 54dd4c8 commit e8342e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bootstrap/src/core/metadata.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit e8342e7

Please sign in to comment.