Commit graph

484 commits

Author SHA1 Message Date
bjorn3
f301b06bf4 Rustup to rustc 1.33.0-nightly (59183180f 2018-12-29) 2018-12-30 12:06:55 +01:00
bjorn3
16e43c9d21 Fix unsize coercions and the size_of_val and min_align_of_val intrinsics for custom dst's 2018-12-29 15:36:17 +01:00
bjorn3
8f2ca706c2 Setup env_logger 2018-12-29 12:04:35 +01:00
dependabot[bot]
20e8aec790
Merge pull request #252 from bjorn3/dependabot/cargo/serde-1.0.83 2018-12-28 18:29:44 +00:00
dependabot[bot]
65f6f62f91
Bump serde from 1.0.82 to 1.0.83
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.82...v1.0.83)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-28 17:55:52 +00:00
bjorn3
bebaa83c4a Add 'set is_pic' to clif files 2018-12-28 18:48:47 +01:00
bjorn3
b105534f97 Misc build changes 2018-12-28 17:15:20 +01:00
bjorn3
8561349ece Only build clif comments in debug mode 2018-12-28 17:09:38 +01:00
bjorn3
56133d1b18 Fix release mode 2018-12-28 15:18:35 +01:00
bjorn3
f13d9fd506 Rustup to rustc 1.33.0-nightly (fb86d604b 2018-12-27) 2018-12-28 10:44:32 +01:00
bjorn3
3e40f150d0 Add some more clif comments 2018-12-27 10:59:01 +01:00
dependabot[bot]
e6359826c7
Merge pull request #251 from bjorn3/dependabot/cargo/cranelift-c87da1a 2018-12-27 07:55:08 +00:00
dependabot[bot]
00dbbecf83
Bump cranelift from 9055dd1 to c87da1a
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `9055dd1` to `c87da1a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](9055dd16ce...c87da1a42e)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-27 06:37:20 +00:00
bjorn3
af78c9a10e Reduce duplication in abi.rs a bit 2018-12-26 11:15:42 +01:00
dependabot[bot]
b85b9ffbc3
Merge pull request #245 from bjorn3/dependabot/cargo/cranelift-9055dd1 2018-12-26 06:57:04 +00:00
dependabot[bot]
3c755858b9
Bump cranelift from 328642f to 9055dd1
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `328642f` to `9055dd1`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](328642ffb2...9055dd16ce)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-26 05:57:00 +00:00
dependabot[bot]
a12fa769c9
Merge pull request #242 from bjorn3/dependabot/cargo/backtrace-sys-0.1.28 2018-12-25 15:57:04 +00:00
bjorn3
2c25b29c9c Simplify argument storage 2018-12-25 16:54:41 +01:00
dependabot[bot]
e78a3766a9
Bump backtrace-sys from 0.1.26 to 0.1.28
Bumps [backtrace-sys](https://github.com/alexcrichton/backtrace-rs) from 0.1.26 to 0.1.28.
- [Release notes](https://github.com/alexcrichton/backtrace-rs/releases)
- [Commits](https://github.com/alexcrichton/backtrace-rs/compare/backtrace-sys-0.1.26...backtrace-sys-0.1.28)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 14:44:05 +00:00
dependabot[bot]
cf5c7a9f07
Merge pull request #241 from bjorn3/dependabot/cargo/cc-1.0.28 2018-12-24 14:41:19 +00:00
dependabot[bot]
7f449578e4
Bump cc from 1.0.27 to 1.0.28
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.27 to 1.0.28.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.27...1.0.28)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 14:14:13 +00:00
bjorn3
7ea7d021ca Rustup to rustc 1.33.0-nightly (ddab10a69 2018-12-23) 2018-12-24 14:50:18 +01:00
bjorn3
3d05ff922c Use the linkage and visibility produced by tcx.collect_and_partition_mono_itemscc #209 2018-12-23 19:41:35 +01:00
bjorn3
0b4ede39e5 Add pretty param and local info comments to clif 2018-12-22 18:21:30 +01:00
bjorn3
9882576497 Improve debug messages in generated clif files 2018-12-22 18:21:30 +01:00
bjorn3
6e5d9abe9c Rustup to rustc 1.33.0-nightly (e40548bc4 2018-12-21) 2018-12-22 10:54:38 +01:00
bjorn3
64d4257387 Rustup to rustc 1.33.0-nightly (09d6ab90e 2018-12-20) 2018-12-21 13:45:06 +01:00
dependabot[bot]
00e09cc5b9
Merge pull request #240 from bjorn3/dependabot/cargo/heck-0.3.1 2018-12-21 12:41:12 +00:00
bjorn3
d94fe1d717 Fix calling drop_in_place_real with empty drop glue
fixes #209
2018-12-20 14:57:34 +01:00
dependabot[bot]
02b32f117d
Bump heck from 0.3.0 to 0.3.1
Bumps [heck](https://github.com/withoutboats/heck) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/withoutboats/heck/releases)
- [Commits](https://github.com/withoutboats/heck/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-20 05:26:18 +00:00
bjorn3
43a68c33fe
Merge pull request #239 from bjorn3/dependabot/cargo/cc-1.0.27
Bump cc from 1.0.26 to 1.0.27
2018-12-19 12:31:38 +01:00
dependabot[bot]
1ec65937d6
Bump cc from 1.0.26 to 1.0.27
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.26...1.0.27)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-19 06:37:50 +00:00
bjorn3
6fa3140222 Introduce CodegenCx 2018-12-18 18:28:02 +01:00
bjorn3
4f32e703a8 Update Cargo.lock 2018-12-18 15:20:24 +01:00
dependabot[bot]
fd18bc4b38
Merge pull request #238 from bjorn3/dependabot/cargo/cranelift-328642f 2018-12-18 07:36:07 +00:00
dependabot[bot]
ea2c856319
Bump cranelift from 05b6226 to 328642f
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `05b6226` to `328642f`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](05b62260ac...328642ffb2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-18 06:32:15 +00:00
bjorn3
0530d5225f Disable probestack 2018-12-15 17:17:10 +01:00
bjorn3
1e5c6bc5b8 Stop using xargo for building the sysroot
It is currently broken. (see https://github.com/japaric/xargo/issues/227)

This makes it easier to for example patch whole crates away.
2018-12-15 16:18:03 +01:00
bjorn3
9351f1d0c7 Rustup patches to rustc 1.33.0-nightly (96d1334e5 2018-12-14) 2018-12-15 14:46:58 +01:00
bjorn3
2d14dc9f1e Rustup cg_ssa to rustc 1.32.0-nightly (f4a421ee3 2018-12-13) 2018-12-14 13:42:26 +01:00
bjorn3
c8d435aade Put allocator shim in a different object file 2018-12-13 15:24:14 +01:00
bjorn3
77e3612581 Move emit_module a bit up 2018-12-13 15:24:14 +01:00
bjorn3
978add3698 Convenience functions for creating and emitting faerie modules 2018-12-13 15:24:14 +01:00
bjorn3
bc687ee992 Prepare for emitting separate object files for each codegen unit 2018-12-13 15:24:14 +01:00
dependabot[bot]
64f53971e6
Merge pull request #225 from bjorn3/dependabot/cargo/cc-1.0.26 2018-12-13 07:46:30 +00:00
dependabot[bot]
b1f1886dd5
Bump cc from 1.0.25 to 1.0.26
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.25...1.0.26)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-13 07:30:37 +00:00
dependabot[bot]
0befe57cc6
Merge pull request #226 from bjorn3/dependabot/cargo/backtrace-0.3.12 2018-12-13 07:22:04 +00:00
dependabot[bot]
870378c452
Bump backtrace from 0.3.11 to 0.3.12
Bumps [backtrace](https://github.com/alexcrichton/backtrace-rs) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/alexcrichton/backtrace-rs/releases)
- [Commits](https://github.com/alexcrichton/backtrace-rs/compare/0.3.11...0.3.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-13 05:45:53 +00:00
bjorn3
4d0dba944c Some refactorings for codegen_mono_items 2018-12-12 16:01:34 +01:00
bjorn3
94eac08a48 Extract TargetIsa building to a separate function 2018-12-12 15:11:15 +01:00