Rollup merge of #63441 - bjorn3:patch-1, r=Mark-Simulacrum
Derive Debug for CrateInfo
This commit is contained in:
commit
c805a38dff
2 changed files with 3 additions and 2 deletions
|
@ -87,7 +87,7 @@ pub enum LinkagePreference {
|
|||
RequireStatic,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash,
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash,
|
||||
RustcEncodable, RustcDecodable, HashStable)]
|
||||
pub enum NativeLibraryKind {
|
||||
/// native static library (.a archive)
|
||||
|
@ -100,7 +100,7 @@ pub enum NativeLibraryKind {
|
|||
NativeUnknown,
|
||||
}
|
||||
|
||||
#[derive(Clone, RustcEncodable, RustcDecodable, HashStable)]
|
||||
#[derive(Clone, Debug, RustcEncodable, RustcDecodable, HashStable)]
|
||||
pub struct NativeLibrary {
|
||||
pub kind: NativeLibraryKind,
|
||||
pub name: Option<Symbol>,
|
||||
|
|
|
@ -128,6 +128,7 @@ bitflags::bitflags! {
|
|||
}
|
||||
|
||||
/// Misc info we load from metadata to persist beyond the tcx.
|
||||
#[derive(Debug)]
|
||||
pub struct CrateInfo {
|
||||
pub panic_runtime: Option<CrateNum>,
|
||||
pub compiler_builtins: Option<CrateNum>,
|
||||
|
|
Loading…
Add table
Reference in a new issue