Hi Brian, On Sat, Nov 15, 2014 at 11:23 PM, Brian Anderson <[email protected]> wrote: > I believe it is not possible to link to glibc statically. My understanding > is that to get a Rust binary that does not depend on a system-provided libc > at all we need to add explicit support for alternate libc > implementations[1]. >
Thanks. This really explains why problem is so hard. It seems that it's possible to link to glibc, with the issue of non-working name resolution (which is pluggable in glibc) and dlopen (for obvious reasons). That would work for me for now. Still, when you are talking about "system-provided libc", do you mean that if I would compile Rust on e.g. Alpine linux (which has musl libc by default), I will be able to link rust program with musl libc statically? -- Paul _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
