Skip to content

Commit fba6992

Browse files
authored
Unrolled build for rust-lang#124290
Rollup merge of rust-lang#124290 - klensy:dep-format, r=jieyouxu DependencyList: removed outdated comment Comment was outdated. Didn't updated description, as `Linkage` enum have descriptive names. Also added fixme about moving this file to rustc_metadata.
2 parents 2ad6630 + 9e40b54 commit fba6992

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_middle/src/middle/dependency_format.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
//! For all the gory details, see the provider of the `dependency_formats`
55
//! query.
66
7+
// FIXME: move this file to rustc_metadata::dependency_format, but
8+
// this will introduce circular dependency between rustc_metadata and rustc_middle
9+
710
use rustc_macros::{Decodable, Encodable, HashStable};
811
use rustc_session::config::CrateType;
912

1013
/// A list of dependencies for a certain crate type.
1114
///
1215
/// The length of this vector is the same as the number of external crates used.
13-
/// The value is None if the crate does not need to be linked (it was found
14-
/// statically in another dylib), or Some(kind) if it needs to be linked as
15-
/// `kind` (either static or dynamic).
1616
pub type DependencyList = Vec<Linkage>;
1717

1818
/// A mapping of all required dependencies for a particular flavor of output.

0 commit comments

Comments
 (0)