MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / default

Method default

src/compilation_pipeline.rs:141–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 /// The effective link layout for the current configuration.
140 pub fn effective_link_layout(&self) -> LinkLayout {
141 if let Some(layout) = &self.link_layout {
142 layout.clone()
143 } else {
144 match self.target_mode {
145 TargetMode::Hosted => LinkLayout::hosted(),
146 TargetMode::Freestanding | TargetMode::Kernel => LinkLayout::freestanding_kernel(),
147 }
148 }
149 }
150
151 /// Effective load base address (shorthand for `effective_link_layout().load_base`).
152 pub fn effective_load_base(&self) -> u64 {
153 self.effective_link_layout().load_base

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected