Rollup merge of #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.
This commit is contained in:
commit
7a79392c82
@ -4,15 +4,15 @@
|
||||
//! For all the gory details, see the provider of the `dependency_formats`
|
||||
//! query.
|
||||
|
||||
// FIXME: move this file to rustc_metadata::dependency_format, but
|
||||
// this will introduce circular dependency between rustc_metadata and rustc_middle
|
||||
|
||||
use rustc_macros::{Decodable, Encodable, HashStable};
|
||||
use rustc_session::config::CrateType;
|
||||
|
||||
/// A list of dependencies for a certain crate type.
|
||||
///
|
||||
/// The length of this vector is the same as the number of external crates used.
|
||||
/// The value is None if the crate does not need to be linked (it was found
|
||||
/// statically in another dylib), or Some(kind) if it needs to be linked as
|
||||
/// `kind` (either static or dynamic).
|
||||
pub type DependencyList = Vec<Linkage>;
|
||||
|
||||
/// A mapping of all required dependencies for a particular flavor of output.
|
||||
|
Loading…
x
Reference in New Issue
Block a user