On 08/03/2012 2:48 PM, Jeff Schultz wrote:

Yes, I appreciate the motive.  Could the same goal be achieved by
refusing to introspect a library that *doesn't* have a mangled name in
any location where there are more than one "instances" of the library
name or which can otherwise be deduced to be an "install" location?
Hmm, how eager is the binding to libraries anyway?

When you link, you embed the soname of the library in the target you're building, which drives the runtime loader's search. I'd prefer not to get into a game of "oh, you linked before you installed? oh, that won't work" by default.

I'm ok making an option for disabling the name mangling, but I don't want it to the default behavior. I want the defaults to be safe(r).

-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to