Commit graph

944 commits

Author SHA1 Message Date
bjorn3
10ad950130 Fix static linkage 2018-11-16 20:40:39 +01:00
bjorn3
2c38313403 Move unimpl! macro to unimpl.rs 2018-11-16 19:53:27 +01:00
bjorn3
b2a8996f88 Implement rotate_{left,right} intrinsics 2018-11-16 19:50:23 +01:00
bjorn3
7466741bf0 Benchmark compilations speed
cc #133
2018-11-16 18:39:31 +01:00
bjorn3
8233ade789 Set cranelift opt_level based on -Copt-level 2018-11-16 18:13:43 +01:00
bjorn3
e6634506a2 Update Cargo.lock 2018-11-16 17:54:57 +01:00
bjorn3
e83da7533c Move trapping to trap_code.rs 2018-11-16 17:35:47 +01:00
bjorn3
cf287e3a05
Merge pull request #156 from bjorn3/dependabot/cargo/cranelift-af045c1
Bump cranelift from `606eee5` to `af045c1`
2018-11-16 17:24:29 +01:00
dependabot[bot]
7b1af5b6f6 Bump cranelift from 606eee5 to af045c1
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `606eee5` to `af045c1`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](606eee5a6c...af045c1c17)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-16 17:21:43 +01:00
bjorn3
faf974b2e6 Rustup to rustc 1.32.0-nightly (6b9b97bd9 2018-11-15) 2018-11-16 17:20:00 +01:00
bjorn3
e1811533ae
Update Readme.md for the current state and add some links to tracking issues 2018-11-16 17:05:59 +01:00
bjorn3
43552c9cb9 Replace some variadic function calls in libstd with unimplemented!() 2018-11-15 11:47:19 +01:00
bjorn3
f42b7c8ca9
Merge pull request #154 from bjorn3/dependabot/cargo/cranelift-606eee5
Bump cranelift from `fe081d3` to `606eee5`
2018-11-15 10:56:25 +01:00
bjorn3
4a69f55758 Update for cranelift change 2018-11-15 10:55:40 +01:00
dependabot[bot]
41ee6781f9
Bump cranelift from fe081d3 to 606eee5
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `fe081d3` to `606eee5`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](fe081d3a47...606eee5a6c)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-15 06:20:40 +00:00
bjorn3
ccf660c46e
Merge pull request #148 from bjorn3/dependabot/cargo/cranelift-fe081d3
Bump cranelift from `28fb8e1` to `fe081d3`
2018-11-14 15:21:50 +01:00
dependabot[bot]
59ae13f65f
Bump cranelift from 28fb8e1 to fe081d3
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `28fb8e1` to `fe081d3`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](28fb8e1401...fe081d3a47)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-14 14:06:55 +00:00
bjorn3
1717cc42ef Fix allocator shim abi 2018-11-14 15:04:50 +01:00
bjorn3
b337695163
Merge pull request #151 from bjorn3/dependabot/cargo/ar-0.6.1
Bump ar from 0.6.0 to 0.6.1
2018-11-14 15:03:47 +01:00
dependabot[bot]
77784aa0de
Bump ar from 0.6.0 to 0.6.1
Bumps [ar](https://github.com/mdsteele/rust-ar) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/mdsteele/rust-ar/releases)
- [Commits](https://github.com/mdsteele/rust-ar/compare/v0.6.0...v0.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-14 13:34:34 +00:00
bjorn3
0fa5c0f4fa Rustup to rustc 1.32.0-nightly (9fefb6766 2018-11-13) 2018-11-14 14:31:42 +01:00
bjorn3
72c34be975 Implement raw ptr -> int of native pointer size cast 2018-11-13 18:57:59 +01:00
bjorn3
ea113ec82e Implement intrinsic "exact_div" 2018-11-13 18:50:45 +01:00
bjorn3
b906adfffe Implement some missing CastKind::Misc casts 2018-11-13 18:38:10 +01:00
bjorn3
127e080f62 Implement ProjectionElem::ConstantIndex 2018-11-13 18:28:10 +01:00
bjorn3
e5ab49e762 Rustup to rustc 1.32.0-nightly (65204a97d 2018-11-12) 2018-11-13 18:25:21 +01:00
bjorn3
a3263bafe0 Change some unimplemented! to unimpl! 2018-11-13 17:58:42 +01:00
bjorn3
25ba0d6b27 Merge remote-tracking branch 'sunfishcode/master' 2018-11-12 19:38:31 +01:00
bjorn3
1fb6912cfd Rustup to rustc 1.32.0-nightly (ca79ecd69 2018-11-11)
I had to put the original source of liballoc_system in tree, because it got removed from rustc
2018-11-12 19:37:54 +01:00
Dan Gohman
7b5f4894f1 Change "cton" to "clif". 2018-11-12 07:20:42 -08:00
Dan Gohman
27d90ab1d5 Change "cretonne" to "cranelift". 2018-11-12 07:20:32 -08:00
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