Commit Graph

1116 Commits

Author SHA1 Message Date
bjorn3
b58c07348e
Merge pull request #630 from bjorn3/dependabot/cargo/cranelift-1ba2b65
Bump cranelift from `00ac8be` to `1ba2b65`
2019-07-08 17:13:41 +02:00
bjorn3
d0db8f0cac
Rustup 2019-07-08 09:54:18 +02:00
dependabot-preview[bot]
624d6849ba
Bump cranelift from 00ac8be to 1ba2b65
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `00ac8be` to `1ba2b65`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](00ac8be2fe...1ba2b6536c)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 04:52:42 +00:00
bjorn3
b82472184d Rustup to rustc 1.38.0-nightly (dfd52ba6a 2019-07-06) 2019-07-07 11:59:11 +02:00
bjorn3
69591844bb Update Cargo.lock 2019-07-04 18:02:47 +02:00
dependabot-preview[bot]
e7dc094d6d
Merge pull request #624 from bjorn3/dependabot/cargo/cranelift-faerie-312516a 2019-07-03 17:44:42 +00:00
dependabot-preview[bot]
058dc13829
Bump cranelift-faerie from 3317fc6 to 312516a
Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `3317fc6` to `312516a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](3317fc623c...312516a69d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-03 15:38:07 +00:00
bjorn3
c2e6822342 Rustup to rustc 1.37.0-nightly (0beb2ba16 2019-07-02)
Also removes some unnecessary errors.
2019-07-03 16:49:47 +02:00
bjorn3
91b058de94 [CI] Only cache .cargo dir 2019-07-03 16:27:06 +02:00
bjorn3
c453b83f2b Rustup to rustc 1.37.0-nightly (433a46781 2019-06-28) 2019-06-29 11:16:55 +02:00
bjorn3
4e1d219f06 Implement some float intrinsics 2019-06-26 16:06:12 +02:00
bjorn3
159c6585fe Update Cargo.lock 2019-06-24 21:01:38 +02:00
dependabot-preview[bot]
0d58dd1980
Merge pull request #617 from bjorn3/dependabot/cargo/cranelift-1eb92b1 2019-06-24 07:06:37 +00:00
dependabot-preview[bot]
83b2b0fa8b
Bump cranelift from f3f7cad to 1eb92b1
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `f3f7cad` to `1eb92b1`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](f3f7cadd01...1eb92b193d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 04:58:50 +00:00
bjorn3
db5ffdedf7 Implement bswap intrinsic 2019-06-23 17:32:32 +02:00
bjorn3
d425116bdc Implement some intrinsics 2019-06-23 16:36:14 +02:00
bjorn3
d7274ac5fd Fix load and store for ByValPair values with differently sized components 2019-06-23 15:23:06 +02:00
bjorn3
05307af672 Remove some unnecessary patches
cc #337
2019-06-23 11:22:16 +02:00
bjorn3
dd15051f5a Rustup to rustc 1.37.0-nightly (de02101e6 2019-06-22) 2019-06-23 10:47:16 +02:00
bjorn3
2b61f90c71 Fix returning non ZST uninhabited types 2019-06-16 18:03:38 +02:00
bjorn3
01e9303857 Fix SetDiscriminant for generators 2019-06-16 18:01:46 +02:00
bjorn3
bd73128d2e Implement lt, le, ge and gt for fat pointers 2019-06-16 17:59:31 +02:00
bjorn3
c0779d5d1d Add comments for trap::codegen_print gv and fn defs 2019-06-16 17:40:46 +02:00
bjorn3
2eae6bc879 Make a link less prone to breaking 2019-06-16 17:28:29 +02:00
bjorn3
76a178098d Refactor drop codegen 2019-06-16 15:57:53 +02:00
bjorn3
f8c5e10f26 Fix compiling in release mode 2019-06-16 14:47:01 +02:00
bjorn3
5b70fd6430 Update dependencies 2019-06-16 14:39:23 +02:00
bjorn3
3f15b0a24b Implement scalar pair abi pass mode 2019-06-16 12:54:37 +02:00
bjorn3
65bc1e5b5b Fix write_cvalue for ByValPair when the cvalue is not trivially a pair
`write_cvalue` didn't work for `Box<[u8]>`, because the inner fat ptr
was wrapped inside a newtype, which meant `Box<[u8]>` itself only had
one field.

This also simplifies `CValue::force_stack` by reusing `write_cvalue`
when it is not already on the stack.
2019-06-16 12:51:16 +02:00
bjorn3
4d406cdcad Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15) 2019-06-16 11:13:49 +02:00
bjorn3
80ab0cac3c Apply rust-lang pr61828 to fix sysroot building 2019-06-14 19:33:08 +02:00
bjorn3
6d1bc088a7 Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12) 2019-06-13 20:44:40 +02:00
bjorn3
5e2ea4f194 Fix debuginfo generation when given source path doesn't contain a dir (eg plain lib.rs) 2019-06-12 18:30:27 +02:00
dependabot-preview[bot]
ec05bcee29 Bump region from 2.1.0 to 2.1.1 (#606)
Bumps [region](https://github.com/darfink/region-rs) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/darfink/region-rs/releases)
- [Commits](https://github.com/darfink/region-rs/compare/2.1.0...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 17:06:15 +02:00
dependabot-preview[bot]
87113588c7 Bump miniz-sys from 0.1.11 to 0.1.12 (#607)
Bumps [miniz-sys](https://github.com/alexcrichton/flate2-rs) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/alexcrichton/flate2-rs/releases)
- [Commits](https://github.com/alexcrichton/flate2-rs/compare/miniz-sys-0.1.11...miniz-sys-0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 17:05:50 +02:00
bjorn3
44a98df8c2 Remove workaround for previously missing encoding 2019-06-11 17:24:11 +02:00
bjorn3
db851945ea
Merge pull request #435 from bjorn3/write_dylib_metadata
Read and write dylib metadata
2019-06-11 17:22:22 +02:00
bjorn3
44a3550799 Cleanup 2019-06-11 16:59:42 +02:00
bjorn3
07bb89a02d Fix it 2019-06-11 16:57:59 +02:00
bjorn3
aa48c1482a [WIP] 2019-06-11 16:46:36 +02:00
bjorn3
893945bd71 Update for faerie section symbols 2019-06-11 16:45:15 +02:00
bjorn3
4ade746333 [WIP] Add section symbol for mach-O 2019-06-11 16:45:15 +02:00
bjorn3
847a37fedc Only write metadata module when necessary 2019-06-11 16:45:14 +02:00
bjorn3
805e270910 [WIP] 2019-06-11 16:45:14 +02:00
bjorn3
1bea823069 [DEBUG] Add objdump invocation 2019-06-11 16:45:14 +02:00
bjorn3
8dae241368 [WIP] Use correct segment for metadata section 2019-06-11 16:45:14 +02:00
bjorn3
e8c50cf2c2 Read and write dylib metadata 2019-06-11 16:45:14 +02:00
bjorn3
8fb70f259f Move layout out of the enum for CValue 2019-06-11 16:41:40 +02:00
bjorn3
089e75ec42 Encapsulate CPlace constructors 2019-06-11 16:30:47 +02:00
bjorn3
3f04e73b40 Use CValue::by_val{,_pair} at more places 2019-06-11 16:25:07 +02:00