[rust-dev] Why duplicate `libstd-31b43f22-0.10-pre.so` both in `/usr/local/lib` and `/usr/local/lib/rustlib/xxx/lib`?

2014-03-07 Thread Liigo Zhuang
Hey Rusties:

Could we remove the one in `rustlib`, and let `rustc` reuse the one in
'/usr/local/lib'?
If we could do this, the distribution package will be much smaller.
`rustc` is run only in host environment, right?

(Another option, static link rustc, and remove all *.so in rustlib.)

Liigo.
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] Why duplicate `libstd-31b43f22-0.10-pre.so` both in `/usr/local/lib` and `/usr/local/lib/rustlib/xxx/lib`?

2014-03-07 Thread Daniel Micay
On 07/03/14 10:53 PM, Liigo Zhuang wrote:
 Hey Rusties:
 
 Could we remove the one in `rustlib`, and let `rustc` reuse the one in
 '/usr/local/lib'?
 If we could do this, the distribution package will be much smaller.
 `rustc` is run only in host environment, right?
 
 (Another option, static link rustc, and remove all *.so in rustlib.)
 
 Liigo.

The `rustdoc` binary also uses librustc and third party tools may want
to use them as they mature into saner libraries, so I don't think static
linking is a good option.

The stable/nightly Arch Linux packages (`rust` and `rust-git`) symlink
away the duplication as the ABI has always been the same for some time.
I've never actually seen stage1/stage2 configuration markers used.



signature.asc
Description: OpenPGP digital signature
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev