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

Method has_sections

crates/asm-to-binary/src/assembler/output.rs:76–78  ·  view source on GitHub ↗

Returns `true` if at least one section was emitted.

(&self)

Source from the content-addressed store, hash-verified

74
75 pub fn text_bytes(&self) -> &[u8] {
76 self.section_bytes(&SectionKind::Text)
77 }
78
79 pub fn data_bytes(&self) -> &[u8] {
80 self.section_bytes(&SectionKind::Data)
81 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected