Crate ldscript_parser

source ·
Expand description

Linker Script parser

§Usage

extern crate ldscript_parser as lds;

use std::fs::File;
use std::io::Read;

fn main() {
    let script = &mut String::new();
    File::open("tests/msp430bt5190.ld").unwrap()
                .read_to_string(script).unwrap();

    println!("{:#?}", lds::parse(script).unwrap());
}

§References

Structs§

Enums§

Functions§

  • Parses the string that contains a linker script