Commit Graph

1929 Commits

Author SHA1 Message Date
bjorn3
c067be07c1 Implement -Zfunction-sections 2020-10-31 10:13:35 +01:00
bjorn3
114be422ef Rustup to rustc 1.49.0-nightly (ffe52882e 2020-10-30) 2020-10-31 10:12:51 +01:00
bjorn3
4cc6b4f9bf Fix many clippy warnings 2020-10-28 21:47:25 +01:00
bjorn3
5103a258aa Rustup to rustc 1.49.0-nightly (07e968b64 2020-10-27) 2020-10-28 11:36:57 +01:00
bjorn3
9842954d9f
Merge pull request #1096 from bstrie/patch-1
Prefer numeric associated constants in example
2020-10-27 21:29:13 +01:00
Ben Striegel
4206f9fc16
Prefer numeric associated constants in example
Per their documentation, the `max_value()` and `min_value()` associated functions have been superseded by the `MAX` and `MIN` associated constants since Rust 1.43 and are considered "soft deprecated", with all uses currently being replaced in the rustc repo.
2020-10-27 16:20:58 -04:00
bjorn3
2be0596810 Use with_no_trimmed_paths
Fixes compilation without -Ztrim-diagnostic-paths=no
2020-10-27 10:59:09 +01:00
bjorn3
793d26047f Rustup to rustc 1.49.0-nightly (4760b8fb8 2020-10-25) 2020-10-26 09:51:48 +01:00
bjorn3
8ec977e763 Replace write with write_all 2020-10-25 13:33:39 +01:00
bjorn3
d2b8406c20 Remove unused trap_unimplemented_ret_value 2020-10-22 12:44:59 +02:00
bjorn3
8dc71a419e Rustup to rustc 1.49.0-nightly (1eaadebb3 2020-10-21) 2020-10-22 12:44:59 +02:00
Kitsu
04091772bc
Use architecture pointer size for AddConstructor (#1094)
* Use architecture pointer size for AddConstructor

* Update src/backend.rs

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-10-16 16:19:22 +02:00
bjorn3
0416f122aa Error on non-constant simd_insert/simd_extract index 2020-10-16 14:03:29 +02:00
bjorn3
4971028775 Rustup to rustc 1.49.0-nightly (dd7fc54eb 2020-10-15) 2020-10-16 09:35:48 +02:00
bjorn3
1c7c591cb8 Fix compilation for non-unix systems 2020-10-15 18:51:49 +02:00
bjorn3
1c272b1224 Fix a compilation error in debug mode 2020-10-15 18:49:50 +02:00
bjorn3
7045b101cc Use MetadataRef in the metadata loader to fix parallel rustc 2020-10-15 16:15:04 +02:00
bjorn3
1c40840738 Fix warning 2020-10-15 15:39:06 +02:00
bjorn3
fed612c75a Output clif ir to output dir instead of hardcoded path
This is necessary for reproducable builds.
2020-10-15 10:57:56 +02:00
bjorn3
a233646dfc Rustup to rustc 1.49.0-nightly (e160e5cb8 2020-10-14) 2020-10-15 10:34:13 +02:00
bjorn3
6258b86c40 Rustup to rustc 1.49.0-nightly (c71248b70 2020-10-11) 2020-10-12 14:23:36 +02:00
bjorn3
2f2d3b2fd4 Avoid iadd for ptr const val with zero offset 2020-10-12 12:04:17 +02:00
bjorn3
cd2fc77b0e Make _rust_extern_with_linkage_* readonly 2020-10-12 12:04:17 +02:00
bjorn3
e0002c1892 Remove MIR dump on panic
I haven't used it for a long time and it adds a lot of noise to the
panic print.
2020-10-11 13:24:14 +02:00
bjorn3
8ebfc9142f Fix rust-analyzer.linkedProjects paths 2020-10-11 13:19:39 +02:00
bjorn3
6e8ea1c049 Abort earlier when an error happens in jit mode 2020-10-11 11:31:36 +02:00
bjorn3
96d76eb8e4 Update dependencies 2020-10-11 11:20:15 +02:00
bjorn3
9683c42cde Update Cranelift 2020-10-11 11:14:08 +02:00
bjorn3
783c6771b3 Rustup to rustc 1.49.0-nightly (b1af43bc6 2020-10-10) 2020-10-11 10:58:26 +02:00
bjorn3
faec12461f Use custom driver for sysroot building too
This required another custom driver to ensure that build scripts are
built using cg_llvm instead of cg_clif.

After this change only rustdoc still uses -Zcodegen-backend
2020-10-10 16:41:31 +02:00
bjorn3
c352f91b40 Rustfmt 2020-10-09 19:17:52 +02:00
bjorn3
e910a24d44
Merge pull request #1093 from bjorn3/use_new_module_interface
Use the new cranelift-module interface
2020-10-08 19:22:15 +02:00
bjorn3
0a5968dfd2 Use the new cranelift-module interface
This updates Cranelift to include bytecodealliance/wasmtime#2249
2020-10-08 19:00:21 +02:00
bjorn3
1cd63dc9b2 Update sysroot miniz_oxide 2020-10-08 13:37:02 +02:00
bjorn3
cb2dd4b5e0 Update rust-analyzer config for changed path 2020-10-05 11:14:10 +02:00
bjorn3
832b3117cc Install rustfmt by default when doing a rustup 2020-10-05 11:13:11 +02:00
bjorn3
3fc673d0a9 Rustup to rustc 1.49.0-nightly (beb5ae474 2020-10-04) 2020-10-05 11:12:41 +02:00
bjorn3
ab92638735 Rustup to rustc 1.48.0-nightly (8fe73e80d 2020-10-01) 2020-10-02 14:26:34 +02:00
bjorn3
3b60cc4eb1 Prevent usage of sccache
It doesn't detect cg_clif as a rust compiler

Fixes #1091
2020-09-30 09:16:14 +02:00
bjorn3
0c065f9560
Merge pull request #1089 from bjorn3/custom_driver
Add custom rustc driver that uses cg_clif
2020-09-29 23:52:59 +02:00
bjorn3
9a513be11a Update readme 2020-09-29 19:50:03 +02:00
bjorn3
426e55709c Replace CG_CLIF_JIT with --jit 2020-09-29 18:41:59 +02:00
bjorn3
838dd17a67 Don't read CG_CLIF_JIT from init_global_lock
In preparation to moving away from an env var
2020-09-29 18:12:23 +02:00
bjorn3
787d078fb6 Build build scripts for sysroot using cg_llvm
There is not yet a cg_clif sysroot available when building the sysroot itself
2020-09-29 18:07:19 +02:00
bjorn3
b8b5a824a6 Fix JIT 2020-09-29 15:28:48 +02:00
bjorn3
17a54ad62e Add custom driver 2020-09-29 15:16:29 +02:00
bjorn3
c046ad017f Fix panic 2020-09-29 14:11:14 +02:00
bjorn3
684c054e31 Rustup to rustc 1.48.0-nightly (fc2daaae6 2020-09-28) 2020-09-29 13:56:30 +02:00
bjorn3
a9ec4de6f2 Silence rm warning when files are not existing 2020-09-29 13:26:32 +02:00
bjorn3
c0507a63fb Invoke panic handler instead of trap for assert_* intrinsics 2020-09-29 13:22:01 +02:00