mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
comment formatting
This commit is contained in:
parent
63f65947bc
commit
c29e8bc452
1 changed files with 10 additions and 12 deletions
|
@ -248,11 +248,9 @@ impl Serialize for LinkingInitFunc {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------
|
//------------------------------------------------
|
||||||
//
|
|
||||||
// Common data
|
// Common data
|
||||||
//
|
//------------------------------------------------
|
||||||
//----------------
|
|
||||||
|
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
|
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
|
||||||
|
@ -291,11 +289,9 @@ impl<'a> Serialize for LinkingComdat<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------
|
//------------------------------------------------
|
||||||
//
|
|
||||||
// Symbol table
|
// Symbol table
|
||||||
//
|
//------------------------------------------------
|
||||||
//----------------
|
|
||||||
|
|
||||||
/// Indicating that this is a weak symbol. When
|
/// Indicating that this is a weak symbol. When
|
||||||
/// linking multiple modules defining the same symbol, all weak definitions are
|
/// linking multiple modules defining the same symbol, all weak definitions are
|
||||||
|
@ -442,11 +438,9 @@ impl Serialize for SymInfo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------
|
//----------------------------------------------------------------
|
||||||
//
|
|
||||||
// Linking subsections
|
// Linking subsections
|
||||||
//
|
//----------------------------------------------------------------
|
||||||
//--------------------------------
|
|
||||||
|
|
||||||
pub enum LinkingSubSection<'a> {
|
pub enum LinkingSubSection<'a> {
|
||||||
/// Extra metadata about the data segments.
|
/// Extra metadata about the data segments.
|
||||||
|
@ -482,6 +476,10 @@ impl<'a> Serialize for LinkingSubSection<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//----------------------------------------------------------------
|
||||||
|
// Linking metadata section
|
||||||
|
//----------------------------------------------------------------
|
||||||
|
|
||||||
const LINKING_VERSION: u8 = 2;
|
const LINKING_VERSION: u8 = 2;
|
||||||
|
|
||||||
pub struct LinkingSection<'a> {
|
pub struct LinkingSection<'a> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue