Function csx64::asm::stdlib[][src]

pub fn stdlib() -> Vec<(String, ObjectFile)>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator

Gets a copy of the C-style standard library object files for use in CSX64 asm programs. Notably, this includes the start file which is required by the linker 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.