Skip to main content

write

Function write 

Source
pub fn write(
    text: &Text,
    data: &Data,
    target: &TargetInfo,
) -> Result<Vec<u8>, Error>
Expand description

One text section and the variables beside it, as a relocatable ELF object.

ยงErrors

Error::Format for a machine or a platform this does not write, and Error::Refused for anything the writer underneath objected to, which would be a bug here. See Error.