Commit Graph

463 Commits

Author SHA1 Message Date
bjorn3
ef5d16178d
Merge pull request #144 from bjorn3/wip_linker
Linker
2018-11-11 11:42:06 +01:00
bjorn3
29e1d617d4 Remove commented out code 2018-11-11 11:40:41 +01:00
bjorn3
f955c8ef2a Move all functions in link.rs copied from cg_llvm to link_copied.rs 2018-11-11 11:40:41 +01:00
bjorn3
7ef83ec641 Disable alloc_example and compile mod_bench_inline's sysroot with -Zmir-opt-level=3 2018-11-11 11:40:41 +01:00
bjorn3
640d66c777 Call linker from cg_clif 2018-11-11 11:40:31 +01:00
bjorn3
104e9ffe89 Update cranelift 2018-11-10 15:19:26 +01:00
bjorn3
b9c648daed Rustfmt 2018-11-10 15:12:00 +01:00
bjorn3
c88353c942 Warn and error about some things and make METADATA_FILENAME an &str 2018-11-10 15:01:01 +01:00
bjorn3
9ceb1a170b Misc renames and changes 2018-11-10 12:49:25 +01:00
bjorn3
c2be4b83f1 Rustup to rustc 1.32.0-nightly (36a50c29f 2018-11-09) 2018-11-10 10:52:23 +01:00
bjorn3
e1fc9a56d9 Update dependencies 2018-11-09 18:03:47 +01:00
bjorn3
7d602513b1 Rustup to rustc 1.32.0-nightly (653da4fd0 2018-11-08) 2018-11-09 17:54:28 +01:00
bjorn3
85d0c1f487 [Travis] test on macOS too 2018-11-07 14:07:12 +01:00
bjorn3
d0a3f99214 Introduce link module 2018-11-07 14:04:44 +01:00
bjorn3
0b76af2095 Remove should_codegen 2018-11-07 13:35:10 +01:00
bjorn3
29b4c34c54 Rustfmt 2018-11-07 13:32:02 +01:00
bjorn3
b73bda1c3f Fix warnings 2018-11-07 13:31:02 +01:00
bjorn3
648f491977 Enable feature gate extern_crate_item_prelude 2018-11-07 13:29:38 +01:00
bjorn3
d20f54bb1a Add some benchmarks 2018-11-05 18:42:43 +01:00
bjorn3
4e4cad8a20 Allocator shim 2018-11-05 18:29:15 +01:00
bjorn3
f19f8e4b49 Use tcx.collect_and_partition_mono_items 2018-11-05 18:27:10 +01:00
bjorn3
d67fd16982 Use cg_utils::symbol_export::provide{,_extern} 2018-11-05 18:13:58 +01:00
bjorn3
438bee5fb1 Rustup to rustc 1.32.0-nightly (e6c5cf923 2018-11-04) 2018-11-05 18:03:47 +01:00
bjorn3
4f7f65ce55 Rustup to rustc 1.32.0-nightly (04fdb44f5 2018-11-03) 2018-11-04 15:29:01 +01:00
bjorn3
c080c0bfec Misc changes 2018-11-03 15:04:27 +01:00
bjorn3
fc8a6c343a Update Cargo.lock
Also update for cranelift changes.
2018-11-03 13:14:28 +01:00
bjorn3
23e0b0bd9c Rustup to rustc 1.32.0-nightly (8b096314a 2018-11-02) 2018-11-03 12:49:55 +01:00
bjorn3
12a5d777d3 Misc build.sh changes 2018-11-02 20:09:52 +01:00
bjorn3
58f076cf38 Print pass mode for locals in clif 2018-11-02 19:50:30 +01:00
dependabot[bot]
3b9f98e8df
Merge pull request #130 from bjorn3/dependabot/cargo/cranelift-8382f9e 2018-11-01 06:45:23 +00:00
dependabot[bot]
7fe1745d6b
Bump cranelift from 48fe38d to 8382f9e
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `48fe38d` to `8382f9e`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](48fe38d756...8382f9e988)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-01 06:22:47 +00:00
dependabot[bot]
3740bd4359
Merge pull request #125 from bjorn3/dependabot/cargo/cranelift-48fe38d 2018-10-31 07:25:49 +00:00
dependabot[bot]
d7cf54dcac
Bump cranelift from 1f43e47 to 48fe38d
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `1f43e47` to `48fe38d`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](1f43e47458...48fe38d756)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-31 05:51:48 +00:00
bjorn3
cf71df0da4 Rustup to rustc 1.31.0-nightly (d586d5d2f 2018-10-29) 2018-10-30 17:58:42 +01:00
dependabot[bot]
72f47d698e
Merge pull request #120 from bjorn3/dependabot/cargo/cranelift-1f43e47 2018-10-29 06:36:39 +00:00
dependabot[bot]
a658322df1
Bump cranelift from b874861 to 1f43e47
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `b874861` to `1f43e47`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](b874861920...1f43e47458)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 05:25:12 +00:00
bjorn3
172e705b27 Rustup to rustc 1.31.0-nightly (cae6efc37 2018-10-27) 2018-10-28 18:23:03 +01:00
bjorn3
52ab6583dc Better clif file writing 2018-10-27 18:23:37 +02:00
bjorn3
42c735dd78 Update Cargo.lock 2018-10-27 18:16:18 +02:00
bjorn3
fe3a9660ea Bump cranelift 2018-10-25 17:36:29 +02:00
bjorn3
ab9a0b7724 Change name of metadata file to rust.metadata.bin to match cg_llvm 2018-10-25 14:59:02 +02:00
dependabot[bot]
06d3693e61
Merge pull request #116 from bjorn3/dependabot/cargo/cranelift-138b2ce 2018-10-25 07:19:50 +00:00
dependabot[bot]
b2866d67af
Bump cranelift from 177e727 to 138b2ce
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `177e727` to `138b2ce`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](177e727c1b...138b2ce941)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-25 05:33:18 +00:00
dependabot[bot]
5f7fca5fa7
Merge pull request #109 from bjorn3/dependabot/cargo/cranelift-177e727 2018-10-24 07:59:59 +00:00
dependabot[bot]
a13562cf83
Bump cranelift from b3bda48 to 177e727
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `b3bda48` to `177e727`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](b3bda48431...177e727c1b)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-24 05:51:38 +00:00
bjorn3
75baefebbb Enable codegen by default 2018-10-23 10:57:09 +02:00
dependabot[bot]
a7924ac69a
Merge pull request #108 from bjorn3/dependabot/cargo/cranelift-b3bda48 2018-10-23 08:26:01 +00:00
dependabot[bot]
e5b0c40fe2
Bump cranelift from e41e9fb to b3bda48
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `e41e9fb` to `b3bda48`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](e41e9fb2f6...b3bda48431)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-23 05:34:46 +00:00
bjorn3
35d4d22e5c Rustup to rustc 1.31.0-nightly (424a749a0 2018-10-21) 2018-10-22 11:06:09 +02:00
bjorn3
397c6843d0 Rustup to rustc 1.31.0-nightly (155510e37 2018-10-20) and fix test 2018-10-21 16:32:19 +02:00