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

Method resolve_build_program

src/app/mod.rs:612–626  ·  view source on GitHub ↗

The program a build should target: the parent if a fragment (helper module / kernel module) is selected, otherwise the selected program itself. A fragment only links as part of its parent, so every build path resolves through here.

(&self)

Source from the content-addressed store, hash-verified

610 if response.drag_stopped() {
611 self.layout.tool_window_drag_start = None;
612 }
613
614 draw_separator(
615 ui,
616 edge_x,
617 sep_top,
618 rect.bottom(),
619 response.hovered() || response.dragged(),
620 );
621 }
622
623 pub(super) fn build_active_document(&mut self, now: f64) {
624 let config = self.selected_config().cloned();
625 let has_config = config.is_some();
626 let target_name = config
627 .as_ref()
628 .and_then(|config| self.config_root(config))
629 .map(|path| path.to_string())

Callers 3

compileMethod · 0.80

Calls 4

current_programMethod · 0.80
is_stdlibMethod · 0.80
all_programsMethod · 0.80
cloneMethod · 0.45

Tested by 1