Commit graph

578 commits

Author SHA1 Message Date
bjorn3
b05c457257 Use correct alignment for CValue::ByRef for a ZST 2019-02-13 14:32:30 +01:00
bjorn3
e74e089ae5
Merge pull request #339 from bjorn3/fix_libstd
Fix libstd
2019-02-12 12:21:40 +01:00
bjorn3
130fbe2574
*const char -> *const i8 2019-02-12 08:24:32 +01:00
bjorn3
223611dcb2 Fix and enable libstd building 2019-02-11 19:40:07 +01:00
bjorn3
c68e76c33b Implement variadic function calling 2019-02-11 19:18:52 +01:00
bjorn3
4bb8bfca94 Disable macOS debuginfo and on all platforms optimizations 2019-02-11 19:11:55 +01:00
bjorn3
5b3867430f Fix "offset" intrinsic
It didn't multiply the offset given by the pointee type size.
2019-02-11 18:50:26 +01:00
bjorn3
91385ba0fc Cleanup config.sh 2019-02-11 15:42:28 +01:00
bjorn3
a272efa030 Fix alloc_example 2019-02-11 15:29:46 +01:00
bjorn3
19f9810a0f Rustup to rustc 1.34.0-nightly (0b7af2668 2019-02-10) 2019-02-11 15:10:28 +01:00
bjorn3
05ee5cc090
Merge pull request #338 from philipc/gimli
Update gimli
2019-02-11 15:09:17 +01:00
Philip Craig
e2a869e166 Update gimli 2019-02-11 17:05:38 +10:00
bjorn3
1eba7e5f5e Implement drop for trait objects 2019-02-08 17:20:24 +01:00
dependabot[bot]
e506ff1ddb
Merge pull request #334 from bjorn3/dependabot/cargo/cranelift-4d92022 2019-02-08 06:42:44 +00:00
dependabot[bot]
d3995bc5f6
Bump cranelift from 0a04fb6 to 4d92022
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `0a04fb6` to `4d92022`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](0a04fb6ad0...4d92022a0b)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-08 05:37:43 +00:00
bjorn3
c8f19f1cb2 Make codegen_call_inner a bit more readable 2019-02-07 20:28:55 +01:00
dependabot[bot]
2709d2ee78
Merge pull request #330 from bjorn3/dependabot/cargo/cranelift-0a04fb6 2019-02-07 08:55:13 +00:00
dependabot[bot]
bbfcecc312
Bump cranelift from c47ca7b to 0a04fb6
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `c47ca7b` to `0a04fb6`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](c47ca7bafc...0a04fb6ad0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 07:26:33 +00:00
bjorn3
160c6925c1
Merge pull request #327 from bjorn3/dependabot/cargo/gimli-955c33e
Bump gimli from `9ed8d7b` to `955c33e`
2019-02-07 08:22:39 +01:00
dependabot[bot]
226aa36373
Bump gimli from 9ed8d7b to 955c33e
Bumps [gimli](https://github.com/gimli-rs/gimli) from `9ed8d7b` to `955c33e`.
- [Release notes](https://github.com/gimli-rs/gimli/releases)
- [Commits](9ed8d7bce4...955c33ed00)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-07 06:21:48 +00:00
bjorn3
f2b67e12bb Remove 0008-Replace-some-variadic-function-calls-with-unimplemen.patch 2019-02-06 19:22:01 +01:00
bjorn3
c6bf784d39 Misc changes 2019-02-06 19:07:21 +01:00
bjorn3
43f4dc6220 Fix some warnings 2019-02-06 18:49:59 +01:00
bjorn3
059b589407 Implement dynamic dispatch for self: Box<T> 2019-02-06 18:44:13 +01:00
bjorn3
f78c99eb10
Merge pull request #324 from bjorn3/dependabot/cargo/fuchsia-cprng-0.1.1
Bump fuchsia-cprng from 0.1.0 to 0.1.1
2019-02-06 17:37:07 +01:00
bjorn3
3c901117c0
Merge pull request #325 from bjorn3/dependabot/cargo/cc-1.0.29
Bump cc from 1.0.28 to 1.0.29
2019-02-06 17:36:59 +01:00
dependabot[bot]
f10f918348
Bump cc from 1.0.28 to 1.0.29
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.28...1.0.29)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 06:06:48 +00:00
dependabot[bot]
93217dbae6
Bump fuchsia-cprng from 0.1.0 to 0.1.1
Bumps fuchsia-cprng from 0.1.0 to 0.1.1.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 06:06:44 +00:00
bjorn3
4cae5b68d9
Merge pull request #323 from bjorn3/dependabot/cargo/serde-1.0.87
Bump serde from 1.0.86 to 1.0.87
2019-02-05 08:25:18 +01:00
dependabot[bot]
82540cd429
Bump serde from 1.0.86 to 1.0.87
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.86...v1.0.87)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 05:19:56 +00:00
bjorn3
e1620402e0 Introduce CPlace::NoPlace for zst's 2019-02-04 19:58:29 +01:00
bjorn3
d0c81d259a Take stack_addr in advance for locals to avoid many duplicate instructions 2019-02-04 19:44:16 +01:00
bjorn3
feec354d65 Introduce CPlace::Stack 2019-02-04 19:32:32 +01:00
bjorn3
3e24c1212f Refactor CPlace address handling 2019-02-04 19:32:29 +01:00
bjorn3
0d16dcfce1 Don't try to store func_addr for FnDef in trans_const_value
This would crash, because the place provides 0 bytes of space for FnDef
2019-02-03 14:11:24 +01:00
bjorn3
07c693b764 Add some patches for libstd 2019-02-03 11:26:44 +01:00
bjorn3
ed9528a104 Misc changes 2019-02-03 11:25:56 +01:00
bjorn3
3308daae9d Update Cargo.lock 2019-02-03 11:08:25 +01:00
dependabot[bot]
3f96ce0d49
Merge pull request #321 from bjorn3/dependabot/cargo/proc-macro2-0.4.27 2019-02-02 13:51:06 +00:00
dependabot[bot]
13efc06766
Bump proc-macro2 from 0.4.26 to 0.4.27
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/0.4.26...0.4.27)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-02 13:29:23 +00:00
bjorn3
849f7f7041 Update gimli 2019-02-02 11:48:09 +01:00
bjorn3
189ba8352d Rustup to rustc 1.34.0-nightly (852701ad6 2019-02-01) 2019-02-02 11:43:42 +01:00
bjorn3
99e43822b4 Misc debuginfo.rs changes 2019-02-01 19:31:26 +01:00
bjorn3
410d397bcd Rustup to rustc 1.34.0-nightly (c1c3c4e95 2019-01-29) 2019-01-30 19:01:07 +01:00
bjorn3
805af227b6 Fix line debuginfo malformness in presence of macros 2019-01-30 14:57:08 +01:00
bjorn3
a9c38b417a Update cranelift 2019-01-29 20:28:57 +01:00
bjorn3
f6ad4198b3 Rustup to rustc 1.34.0-nightly (d8a0dd7ae 2019-01-28) 2019-01-29 20:28:04 +01:00
bjorn3
bdf1320508 Fix panic_if_uninhabited intrinsic 2019-01-26 17:41:04 +01:00
bjorn3
00e6462334 Fix offset addend mixup 2019-01-26 17:40:33 +01:00
bjorn3
35d470587f Update Cargo.lock 2019-01-26 17:17:17 +01:00