Improve generating Custom entry function 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> |
||
|---|---|---|
| .. | ||
| rpath | ||
| archive.rs | ||
| command.rs | ||
| link.rs | ||
| linker.rs | ||
| lto.rs | ||
| metadata.rs | ||
| mod.rs | ||
| rpath.rs | ||
| symbol_export.rs | ||
| write.rs | ||