about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-11-19 11:54:43 +0530
committerGitHub <noreply@github.com>2022-11-19 11:54:43 +0530
commitaeeac5dd0c079cbe36ea5ba6eed702e88906eb16 (patch)
tree6ecfc7b7f251cbce8e7a83f2c3a77b6d80d462b0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentbecc24a23aed2639db3b78acd93ec6d553898583 (diff)
parent2436dff7727732a9f55b1c80888be66ada8e288f (diff)
downloadrust-aeeac5dd0c079cbe36ea5ba6eed702e88906eb16.tar.gz
rust-aeeac5dd0c079cbe36ea5ba6eed702e88906eb16.zip
Rollup merge of #104001 - Ayush1325:custom-entry, r=bjorn3
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>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions