Commit Graph

26 Commits

Author SHA1 Message Date
bjorn3
240e178532 Don't panic on io errors
Fixes #920
2020-08-08 16:14:11 +02:00
bjorn3
748d516e0d Use builtin ranlib instead of running external ranlib
This makes it possible to create rlibs for any target without installing
a toolchain for the target

Fixes #763
2020-07-15 16:28:21 +02:00
bjorn3
893497c93e Infer the path of toolchain binaries from the linker path 2020-07-09 18:55:46 +02:00
bjorn3
eb8fd197ab Prelude cleanup 2020-06-20 18:44:49 +02:00
bjorn3
282e3055e1 Only run ranlib when necessary 2020-06-16 11:40:21 +02:00
bjorn3
bcd357a0ae Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24) 2020-05-25 12:41:33 +02:00
bjorn3
485e52e153 Rustup to rustc 1.45.0-nightly (7ced01a73 2020-04-30) 2020-05-01 17:51:51 +02:00
Venkata Jaswanth U
78cdfc6c92 Fixes #958: Use session.fatal() instead of assert! 2020-04-14 21:36:28 +05:30
bjorn3
f288959c00 Limit publicness to crate where possible and remove unused imports 2020-03-27 12:14:45 +01:00
bjorn3
6b30d508f7 Fix some FIXME's and add some new FIXME's 2020-03-21 16:52:02 +01:00
bjorn3
9ab2af56aa Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03) 2020-03-04 15:04:28 +01:00
bjorn3
a3f27a4428 Use archive_format for determining if gnu style archives should be emitted
Fixes #893
2020-02-14 19:12:43 +01:00
bjorn3
af4009d8c8 Rustup to rustc 1.39.0-nightly (eb48d6bde 2019-09-12) 2019-09-13 21:03:26 +02:00
bjorn3
cd0e862282 Update ar
Fixes #672
2019-09-01 11:17:01 +02:00
Atul Bhosale
f481a4b685
Format code using 'cargo fmt' 2019-08-31 22:58:09 +05:30
bjorn3
5b818e5e0f Use native ar to create archive files
Workaround for #672
2019-08-18 16:06:59 +02:00
bjorn3
aeecb45beb Preserve the order files are added to archives
rust.metadata.bin could have been at the start of an .rlib file confusing ld
2019-04-27 17:47:15 +02:00
bjorn3
9f6a65b08b Update comment 2019-04-24 21:08:11 +02:00
bjorn3
746e5c5142 Remove some debug println's 2019-04-24 20:57:36 +02:00
bjorn3
7ab8dda160 Fix gnu archives 2019-04-24 20:50:23 +02:00
bjorn3
e8db15f662 Fix filename length for ar files 2019-04-24 19:00:21 +02:00
bjorn3
103f2faa1a [WIP] Try using GnuBuilder 2019-04-24 19:00:21 +02:00
bjorn3
004dc33031 Refactor archive.rs for future usage of ar::GnuBuilder 2019-04-21 14:59:05 +02:00
bjorn3
3fedac85e7 Let the ArArchiveBuilder implement cg_ssa:🔙:archive::ArchiveBuilder 2019-04-21 14:57:55 +02:00
bjorn3
56133d1b18 Fix release mode 2018-12-28 15:18:35 +01:00
bjorn3
640d66c777 Call linker from cg_clif 2018-11-11 11:40:31 +01:00