Function csx64::asm::stdlib

source · []
pub fn stdlib() -> Vec<(String, ObjectFile)>
Expand description

Gets a copy of the C-style standard library ObjectFiles for use in CSX64 asm programs.

Notably, this includes the start file which is required by link to use entry points. The standard library includes tools such as malloc, free, printf, etc.

If you wish to link one or more object files to the standard library, call this function and append your object files to the end. The whole sequence can then be handed over to the linker, which will ensure that only the files that were reference are included in the result.