[rust-dev] Issues linking a static Rust library

comex comexk at gmail.com
Tue Oct 7 15:43:30 PDT 2014


On Tue, Oct 7, 2014 at 4:03 PM, Tahia Khan <tahia.khan at gmail.com> wrote:
> Does anyone know if there's some way to exclude these non-object files in a
> staticlib/rlib? Or if there's some other way to avoid this build issue with
> the XCode linker?

Does Xcode's linker command line contain -force_load or -all_load?  If
I'm reading the ld64 source code correctly, it'll only try to load all
the files as objects when those flags are set.


More information about the Rust-dev mailing list