3 releases (breaking)
Uses old Rust 2015
0.3.0 | Feb 1, 2024 |
---|---|
0.2.0 | Mar 27, 2023 |
0.1.0 | Apr 26, 2017 |
#13 in #script-file
46KB
1.5K
SLoC
ldscript-parser
A Linker Script parser
"Documentation"
License
MIT license LICENSE-MIT
lib.rs
:
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
Dependencies
~1MB
~19K SLoC