mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 01:40:02 +00:00
elf-raw-dylib: set type for functions Avoids GNU ld warnings like: ``` type and size of dynamic symbol `meooooooooooooooow' are not defined ``` First noticed in https://github.com/rust-lang/rust/pull/152451#issuecomment-3880667900 with changes from https://github.com/rust-lang/rust/pull/149937.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.