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

Function align_up_to

crates/asm-to-binary/src/assembler/output.rs:197–200  ·  view source on GitHub ↗
(v: u64, align: u64)

Source from the content-addressed store, hash-verified

195 Ok(i) => i,
196 Err(0) => return None,
197 Err(i) => i - 1,
198 };
199 let entry = self.line_table[idx];
200 if entry.line == 0 {
201 return None;
202 }
203 self.file_name(entry.file_id)

Callers 1

to_objectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected