Shiz
|
2ebf583060
|
testing/rust: fix dylib creation when crt-static is enabled
|
2017-04-14 17:59:37 +02:00 |
|
Jakub Jirutka
|
a552535009
|
testing/rust: refactor patches for linux_musl_base.rs
|
2017-04-13 16:01:58 +02:00 |
|
Jakub Jirutka
|
3b2c2faa1f
|
testing/rust: build dynamically linked binaries by default
Note that users still can switch to static linking using
`-C target-feature=+crt-static`, that is allowed in our rustc.
|
2017-04-13 15:04:29 +02:00 |
|
Jakub Jirutka
|
f1119f0394
|
testing/rust: force rpath on prefer-dynamic
|
2017-04-13 00:29:51 +02:00 |
|
Shiz
|
0c9c5f8c93
|
testing/rust: link libunwind properly and clean up libc link patch
|
2017-04-13 00:29:51 +02:00 |
|
Jakub Jirutka
|
3dbe27e7f2
|
testing/rust: build against llvm3.9
|
2017-04-12 14:14:01 +02:00 |
|
Jakub Jirutka
|
e6ca0848df
|
testing/rust: fix multiple issues with static/dynamic linking
|
2017-04-12 14:14:01 +02:00 |
|
Jakub Jirutka
|
b1857379c7
|
testing/rust: fix check-rustc, dynamic exec *must* have INTERP
|
2017-04-09 22:12:39 +02:00 |
|
Jakub Jirutka
|
eadd59359e
|
testing/rust: disable jemalloc
I found out that jemalloc significantly increases size of statically
linked binaries produced by rustc (stripped hello_world 186 kiB vs.
358 kiB) and it seems that it does not gain justifiable performance
boost (actually even negative in some tests).
https://users.rust-lang.org/t/optimizing-rust-binaries-observation-of-musl-versus-glibc-and-jemalloc-versus-system-alloc/8499/7
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
60dcefecf1
|
testing/rust: add check for static/dynamic PIC
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
2da58e9982
|
testing/rust: build with Cargo specified in stage0.txt
This is not necessary, but better...
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
856faeea63
|
testing/rust: remove unneeded crt*.o files
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
2f952ff8bc
|
testing/rust: add -dbg subpackage, let binaries to be stripped
I don't remember the exact reason why I've disabled stripping. Maybe
I get it from Fedora package [1]? Anyway, I've checked that our strip
does not remove .rustc section, so it should be probably okay.
[1]: https://src.fedoraproject.org/cgit/rpms/rust.git/tree/rust.spec?id=2453b710d43f1f9cacc53b4e9caa2da2f9c888ac#n185
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
2a232275cd
|
testing/rust: build with vendored jemalloc
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
2e440a2067
|
testing/rust: remove duplicated libs and move only *.rlib to -stdlib
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
4147e840f6
|
testing/rust: link with LLVM dynamically
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
8c89e12956
|
testing/rust: upgrade to 1.16.0 and properly fix dynamic linking
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
997883d3a0
|
testing/rust: add missing dependency on gcc
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
9345f4e5b2
|
testing/rust: modernize abuild
|
2017-04-09 15:41:28 +02:00 |
|
Jakub Jirutka
|
dafc578d4d
|
testing/rust: make rust depend on rust-stdlib for convenience
|
2016-08-06 12:41:02 +02:00 |
|
Jakub Jirutka
|
2a8472b921
|
testing/rust: new aport
http://www.rust-lang.org
The Rust Programming Language
|
2016-08-06 02:46:07 +02:00 |
|