]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Mon, 15 Mar 2021 15:30:52 +0000 (16:30 +0100)]
Merge pull request #1149 from bjorn3/test_rustc_testsuite
Run the rustc test suite on CI
bjorn3 [Mon, 15 Mar 2021 13:49:57 +0000 (14:49 +0100)]
Run the rustc test suite on CI
bjorn3 [Mon, 15 Mar 2021 13:48:58 +0000 (14:48 +0100)]
Suppress an unnecessary warning and fix an incorrect warning
bjorn3 [Mon, 15 Mar 2021 13:22:11 +0000 (14:22 +0100)]
Fix assert_assignable adt checking
bjorn3 [Mon, 15 Mar 2021 13:21:15 +0000 (14:21 +0100)]
Split rust fork setup out of test_bootstrap.sh
bjorn3 [Mon, 15 Mar 2021 13:04:22 +0000 (14:04 +0100)]
Update Cranelift
bjorn3 [Mon, 15 Mar 2021 12:55:54 +0000 (13:55 +0100)]
Remove no longer necessary intcasts
bjorn3 [Mon, 15 Mar 2021 10:59:06 +0000 (11:59 +0100)]
Use mmap for metadata loading
This can have a significant improvement on compilation times. In
addition it reduces the memory consumption.
Fixes #927
bjorn3 [Mon, 15 Mar 2021 09:22:21 +0000 (10:22 +0100)]
Special case ZST's in Rvalue::Repeat
Fixes #1146 by preventing a hang for [(); usize::MAX], which is used in
a test of libcore.
bjorn3 [Tue, 9 Mar 2021 15:45:55 +0000 (16:45 +0100)]
Adjust for changed -Zmir-opt-level numbering
bjorn3 [Tue, 9 Mar 2021 15:30:31 +0000 (16:30 +0100)]
Lower GHA timeout to 60 min
bjorn3 [Tue, 9 Mar 2021 11:52:43 +0000 (12:52 +0100)]
Update config name for latest rust-analyzer
bjorn3 [Tue, 9 Mar 2021 11:46:04 +0000 (12:46 +0100)]
Add rustc_private=true to the package metadata for rust-analyzer
bjorn3 [Tue, 9 Mar 2021 11:37:39 +0000 (12:37 +0100)]
Some clippy fixes
bjorn3 [Tue, 9 Mar 2021 09:16:43 +0000 (10:16 +0100)]
Rustup to rustc 1.52.0-nightly (
8f349be27 2021-03-08)
bjorn3 [Tue, 9 Mar 2021 09:10:40 +0000 (10:10 +0100)]
bors [Mon, 8 Mar 2021 08:39:24 +0000 (08:39 +0000)]
Auto merge of #82727 - oli-obk:shrinkmem, r=pnkfelix
Test the effect of shrinking the size of Rvalue by 16 bytes
r? `@ghost`
bjorn3 [Fri, 27 Nov 2020 15:52:17 +0000 (16:52 +0100)]
Use the new component dependency option of the rust-toolchain file (take 2)
bjorn3 [Sat, 6 Mar 2021 18:26:11 +0000 (19:26 +0100)]
Add license section to the readme
Just in case
bjorn3 [Sat, 6 Mar 2021 18:22:36 +0000 (19:22 +0100)]
More doc fixes
bjorn3 [Sat, 6 Mar 2021 18:21:30 +0000 (19:21 +0100)]
Revert "Use jemalloc"
This reverts commit
d194c707c82198864cd1493a9e104f904d354e16 .
It fails the bootstrap test as jemalloc_sys is not built
bjorn3 [Sat, 6 Mar 2021 18:19:29 +0000 (19:19 +0100)]
Move the more advanced ways to use cg_clif to usage.md
bjorn3 [Sat, 6 Mar 2021 17:59:01 +0000 (18:59 +0100)]
Use jemalloc
bjorn3 [Sat, 6 Mar 2021 17:45:04 +0000 (18:45 +0100)]
Add clif comments when in release mode
Fixes #1130
bjorn3 [Sat, 6 Mar 2021 14:33:47 +0000 (15:33 +0100)]
Make it possible to enable the verifier in release mode
bjorn3 [Sat, 6 Mar 2021 13:58:29 +0000 (14:58 +0100)]
Handle #![windows_subsystem]
bjorn3 [Sat, 6 Mar 2021 13:49:55 +0000 (14:49 +0100)]
Fix warning
bjorn3 [Sat, 6 Mar 2021 13:46:38 +0000 (14:46 +0100)]
Use --print file-names instead of a match on uname
bjorn3 [Fri, 5 Mar 2021 22:03:06 +0000 (23:03 +0100)]
Merge pull request #1145 from bjorn3/mingw_support
Support cross-compiling to Windows using MinGW
bjorn3 [Thu, 25 Feb 2021 13:54:52 +0000 (14:54 +0100)]
Test Windows cross-compilation on CI
bjorn3 [Thu, 25 Feb 2021 13:35:27 +0000 (14:35 +0100)]
Build all tests when cross-compiling
bjorn3 [Mon, 25 May 2020 19:43:22 +0000 (21:43 +0200)]
Support cross-compiling to Windows using MinGW
bjorn3 [Fri, 5 Mar 2021 20:32:37 +0000 (21:32 +0100)]
Update Cranelift
This adds support for the WindowsFastcall calling convention
bjorn3 [Fri, 5 Mar 2021 18:13:22 +0000 (19:13 +0100)]
Merge branch 'sync_from_rust'
bjorn3 [Fri, 5 Mar 2021 18:12:59 +0000 (19:12 +0100)]
Merge commit '
9a0c32934ebe376128230aa8da3275697b2053e7 ' into sync_cg_clif-2021-03-05
bjorn3 [Fri, 5 Mar 2021 09:45:56 +0000 (10:45 +0100)]
Disable value debuginfo
This prevents an expensive Cranelift pass from running to reconstruct the debuginfo
bjorn3 [Fri, 5 Mar 2021 10:21:44 +0000 (11:21 +0100)]
Rustfmt
bjorn3 [Fri, 5 Mar 2021 09:58:30 +0000 (10:58 +0100)]
Rustup to rustc 1.52.0-nightly (
45b3c2851 2021-03-04)
bjorn3 [Fri, 5 Mar 2021 09:46:59 +0000 (10:46 +0100)]
Oli Scherer [Fri, 5 Mar 2021 09:32:47 +0000 (09:32 +0000)]
Shrink the size of Rvalue by 16 bytes
bjorn3 [Mon, 1 Mar 2021 11:34:49 +0000 (12:34 +0100)]
Fix bootstrap test script
bjorn3 [Mon, 1 Mar 2021 11:19:22 +0000 (12:19 +0100)]
Update Cranelift
Fixes #1143
Guillaume Gomez [Fri, 26 Feb 2021 14:52:29 +0000 (15:52 +0100)]
Rollup merge of #81940 - jhpratt:stabilize-str_split_once, r=m-ou-se
Stabilize str_split_once
Closes #74773
bjorn3 [Tue, 23 Feb 2021 20:00:33 +0000 (21:00 +0100)]
Merge pull request #1144 from bjorn3/dynamic_module
Use dynamic dispatch for the inner Module
bjorn3 [Mon, 22 Feb 2021 15:00:20 +0000 (16:00 +0100)]
Use dynamic dispatch for the inner Module
This improves compilation time and shrinks the linked backend from
13MB to 9.7MB on Linux.
bjorn3 [Tue, 23 Feb 2021 17:48:45 +0000 (18:48 +0100)]
Update Cranelift
bjorn3 [Tue, 23 Feb 2021 08:56:16 +0000 (09:56 +0100)]
Disable macro-error rust-analyzer diagnostic
bjorn3 [Mon, 22 Feb 2021 13:56:06 +0000 (14:56 +0100)]
Update dependencies
bjorn3 [Mon, 22 Feb 2021 13:46:24 +0000 (14:46 +0100)]
Update Cranelift
bjorn3 [Sun, 21 Feb 2021 16:27:53 +0000 (17:27 +0100)]
Rustup to rustc 1.52.0-nightly (
83b30a639 2021-02-20)
bjorn3 [Sun, 21 Feb 2021 16:03:21 +0000 (17:03 +0100)]
Rustfmt
bjorn3 [Sun, 21 Feb 2021 16:02:04 +0000 (17:02 +0100)]
bjorn3 [Sun, 21 Feb 2021 15:42:39 +0000 (16:42 +0100)]
Various enum to int cast fixes
bjorn3 [Sun, 21 Feb 2021 13:39:31 +0000 (14:39 +0100)]
Revert "Remove shift amount masking"
This reverts commit
c5f98b586f9c835e8e3ebecf3db260d2f0ad402a .
It turns out to be necessary anyway
bjorn3 [Sun, 21 Feb 2021 12:58:56 +0000 (13:58 +0100)]
Assume constants can't fail to evaluate
See rust-lang/rust#81327 for the same change to cg_llvm
bjorn3 [Sun, 21 Feb 2021 11:48:43 +0000 (12:48 +0100)]
Avoid a temporary stackslot in codegen_checked_int_binop
bjorn3 [Sun, 21 Feb 2021 11:34:21 +0000 (12:34 +0100)]
Fix CI
bjorn3 [Sun, 21 Feb 2021 11:18:43 +0000 (12:18 +0100)]
Remove workaround for stack_{load,store}.i128 not being implemented
bjorn3 [Sun, 21 Feb 2021 11:09:13 +0000 (12:09 +0100)]
Directly use Cranelift instructions for 128bit int shifts
bjorn3 [Sun, 21 Feb 2021 11:03:02 +0000 (12:03 +0100)]
Remove shift amount masking
Unlike the old x75 backend, the new x64 backend masks the shift amount
itself, matching the specified semantics.
bjorn3 [Sun, 21 Feb 2021 10:18:01 +0000 (11:18 +0100)]
Re-enable some now compiling libcore tests
cc #806
bjorn3 [Sun, 21 Feb 2021 09:56:25 +0000 (10:56 +0100)]
Don't build alloc_system as part of the sysroot
bjorn3 [Sun, 21 Feb 2021 09:49:55 +0000 (10:49 +0100)]
Remove unnecessary parts from alloc_system
bjorn3 [Sun, 21 Feb 2021 09:42:31 +0000 (10:42 +0100)]
Don't write clif ir by default when debug assertions are enabled
bjorn3 [Sun, 21 Feb 2021 09:40:30 +0000 (10:40 +0100)]
Don't import the metadata symbol
Helps with #1134
bjorn3 [Sun, 21 Feb 2021 09:13:37 +0000 (10:13 +0100)]
Merge pull request #1140 from bjorn3/no_more_oldbe
Remove support for the old x86 Cranelift backend
bjorn3 [Sat, 20 Feb 2021 15:55:30 +0000 (16:55 +0100)]
Disable stack2reg optimization
It causes a miscompilation of lewton
Fixes #1142
Camille GILLOT [Mon, 18 Jan 2021 22:53:42 +0000 (23:53 +0100)]
Use a QueryContext for try_mark_green.
bjorn3 [Thu, 18 Feb 2021 17:32:40 +0000 (18:32 +0100)]
Disable 128bit atomic operations on macOS
bjorn3 [Tue, 9 Feb 2021 13:36:25 +0000 (14:36 +0100)]
Use real atomic instructions instead of a global lock
bjorn3 [Tue, 9 Feb 2021 12:47:29 +0000 (13:47 +0100)]
Remove support for x86 oldBE
bjorn3 [Thu, 18 Feb 2021 16:59:13 +0000 (17:59 +0100)]
Update Cranelift
Camille GILLOT [Sat, 30 Jan 2021 18:18:48 +0000 (19:18 +0100)]
Use an ItemId inside mir::GlobalAsm.
bjorn3 [Sun, 14 Feb 2021 17:58:07 +0000 (18:58 +0100)]
Merge pull request #1138 from bjorn3/cirrus_ci
Test FreeBSD on CI
bjorn3 [Sun, 14 Feb 2021 11:54:00 +0000 (12:54 +0100)]
Test FreeBSD on Cirrus CI
bjorn3 [Sun, 14 Feb 2021 14:09:01 +0000 (15:09 +0100)]
Recognize FreeBSD as OS
bjorn3 [Sun, 14 Feb 2021 13:43:23 +0000 (14:43 +0100)]
Use #!/usr/bin/env bash
FreeBSD doesn't have /bin/bash
bjorn3 [Fri, 12 Feb 2021 15:40:08 +0000 (15:40 +0000)]
Rustfmt
bjorn3 [Fri, 12 Feb 2021 15:39:58 +0000 (15:39 +0000)]
Pass around BackendConfig
Jacob Pratt [Tue, 9 Feb 2021 22:30:37 +0000 (17:30 -0500)]
Stabilize str_split_once
bjorn3 [Tue, 9 Feb 2021 12:19:19 +0000 (13:19 +0100)]
Revert "Update libc and libloading"
This reverts commit
bfcf97bd8360931eb088d65f247fc9e1016f8199 .
It causes a "can't resolve symbol" crash on macOS
bjorn3 [Tue, 9 Feb 2021 11:40:43 +0000 (12:40 +0100)]
Update libc and libloading
bjorn3 [Tue, 9 Feb 2021 11:34:13 +0000 (12:34 +0100)]
Update Cranelift
bjorn3 [Tue, 9 Feb 2021 11:30:06 +0000 (12:30 +0100)]
Rustup to rustc 1.52.0-nightly (
0fc6756b4 2021-02-08)
bjorn3 [Tue, 9 Feb 2021 11:21:17 +0000 (12:21 +0100)]
bjorn3 [Wed, 3 Feb 2021 11:21:22 +0000 (12:21 +0100)]
Rustfmt
bjorn3 [Wed, 3 Feb 2021 10:55:17 +0000 (11:55 +0100)]
Update dependencies
bjorn3 [Wed, 3 Feb 2021 10:53:23 +0000 (11:53 +0100)]
Update Cranelift
Hugues de Valon [Sun, 24 Jan 2021 17:15:05 +0000 (17:15 +0000)]
Add a new ABI to support cmse_nonsecure_call
This commit adds a new ABI to be selected via `extern
"C-cmse-nonsecure-call"` on function pointers in order for the compiler to
apply the corresponding cmse_nonsecure_call callsite attribute.
For Armv8-M targets supporting TrustZone-M, this will perform a
non-secure function call by saving, clearing and calling a non-secure
function pointer using the BLXNS instruction.
See the page on the unstable book for details.
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
bjorn3 [Fri, 22 Jan 2021 13:15:12 +0000 (14:15 +0100)]
Fix rustc bootstrap test
bjorn3 [Tue, 2 Feb 2021 09:24:19 +0000 (10:24 +0100)]
Rustup to rustc 1.51.0-nightly (
d4e3570db 2021-02-01)
bjorn3 [Tue, 2 Feb 2021 09:18:16 +0000 (10:18 +0100)]
Jonas Schievink [Mon, 1 Feb 2021 13:29:47 +0000 (14:29 +0100)]
Rollup merge of #81618 - bjorn3:sync_cg_clif-2021-02-01, r=bjorn3
Sync rustc_codegen_cranelift
The highlight of this sync are abi compatibility with cg_llvm allowing mixing of cg_clif and cg_llvm compiled crates and switching to the x64 cranelift backend based on the new backend framework.
r? ``@ghost``
``@rustbot`` label +A-codegen +A-cranelift +T-compiler
bjorn3 [Mon, 1 Feb 2021 09:12:52 +0000 (10:12 +0100)]
Merge branch 'sync_from_rust'
bjorn3 [Mon, 1 Feb 2021 09:11:46 +0000 (10:11 +0100)]
Merge commit '
d556c56f792756dd7cfec742b9f2e07612dc10f4 ' into sync_cg_clif-2021-02-01
bjorn3 [Sun, 31 Jan 2021 17:31:33 +0000 (18:31 +0100)]
Add option to build using the sysroot of rustc
bjorn3 [Sun, 31 Jan 2021 13:56:10 +0000 (14:56 +0100)]
Move some env var definitions around to fix cross-compilation
bjorn3 [Sun, 31 Jan 2021 13:15:50 +0000 (14:15 +0100)]
Fix a small error in the readme
bjorn3 [Sun, 31 Jan 2021 13:04:19 +0000 (14:04 +0100)]
Remove code comment
bjorn3 [Sun, 31 Jan 2021 12:08:07 +0000 (13:08 +0100)]
Split config.sh and add support for copying the mingw runtime objects