summary refs log tree commit diff
path: root/compiler/rustc_target/src/json.rs
AgeCommit message (Collapse)AuthorLines
2022-11-11Improve generating Custom entry functionAyush Singh-0/+25
This commit is aimed at making compiler generated entry functions (Basically just C `main` right now) more generic so other targets can do similar things for custom entry. This was initially implemented as part of https://github.com/rust-lang/rust/pull/100316. Currently, this moves the entry function name and Call convention to the target spec. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-06-03Use serde_json for target spec jsonbjorn3-0/+91