]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Sun, 9 May 2021 11:26:54 +0000 (13:26 +0200)]
Remove unnecessary compiler builtins patch
bjorn3 [Sun, 9 May 2021 11:24:23 +0000 (13:24 +0200)]
Re-enable fixed libcore tests
They were fixed in
6d6c5742896fab93788b4dabb6ba2fcf1881f5e2
bjorn3 [Sun, 9 May 2021 11:17:02 +0000 (13:17 +0200)]
Rustup to rustc 1.54.0-nightly (
881c1ac40 2021-05-08)
bjorn3 [Sun, 9 May 2021 08:01:38 +0000 (10:01 +0200)]
bjorn3 [Fri, 7 May 2021 10:58:54 +0000 (12:58 +0200)]
Avoid trailing / in git path for Wasmtime
Git seems to not be able to handle it in some cases. Thanks to @vramana
for reporting this on Zulip.
Luqman Aden [Thu, 25 Mar 2021 04:45:09 +0000 (21:45 -0700)]
Implement RFC 2951: Native link modifiers
This commit implements both the native linking modifiers infrastructure
as well as an initial attempt at the individual modifiers from the RFC.
It also introduces a feature flag for the general syntax along with
individual feature flags for each modifier.
bjorn3 [Tue, 4 May 2021 16:54:22 +0000 (18:54 +0200)]
Update Cranelift
This removes all the byteorder and thiserror dependencies. This results
in no proc macros being necessary anymore.
bjorn3 [Tue, 4 May 2021 14:41:48 +0000 (16:41 +0200)]
Rustfmt
bjorn3 [Tue, 4 May 2021 12:16:59 +0000 (14:16 +0200)]
Force deprecation warning that was promoted to an error back to a warning
bjorn3 [Tue, 4 May 2021 12:13:07 +0000 (14:13 +0200)]
Update rust bootstrap patches
bjorn3 [Tue, 4 May 2021 12:01:22 +0000 (14:01 +0200)]
Add missing change
bjorn3 [Tue, 4 May 2021 11:55:04 +0000 (13:55 +0200)]
Rustup to rustc 1.54.0-nightly (
716394d65 2021-05-03)
bjorn3 [Tue, 4 May 2021 11:38:28 +0000 (13:38 +0200)]
bjorn3 [Fri, 30 Apr 2021 17:02:09 +0000 (19:02 +0200)]
Merge pull request #1169 from eggyal/macho-link-section
Set correct segment from #[link_section] for MachO
Erin Power [Fri, 30 Apr 2021 16:46:59 +0000 (18:46 +0200)]
XAMPPRocky [Fri, 30 Apr 2021 16:44:20 +0000 (18:44 +0200)]
No-op register_jit on Windows (#1170)
* No-op register_jit on Windows
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
Erin Power [Fri, 30 Apr 2021 13:27:05 +0000 (15:27 +0200)]
[cg_clif] Fix run_jit from sync
Erin Power [Fri, 30 Apr 2021 12:49:58 +0000 (14:49 +0200)]
Alan Egerton [Fri, 30 Apr 2021 10:02:34 +0000 (11:02 +0100)]
Set correct segment from #[link_section] for MachO
bjorn3 [Fri, 30 Apr 2021 08:52:37 +0000 (10:52 +0200)]
Remove unused parameter
bjorn3 [Thu, 29 Apr 2021 12:16:16 +0000 (14:16 +0200)]
Ignore new failing rustc test
Charles Lew [Sun, 25 Apr 2021 17:09:35 +0000 (01:09 +0800)]
Implement RFC 1260 with feature_name `imported_main`.
bjorn3 [Wed, 28 Apr 2021 17:41:10 +0000 (19:41 +0200)]
Rustup to rustc 1.53.0-nightly (
727d10156 2021-04-27)
bjorn3 [Fri, 23 Apr 2021 15:13:25 +0000 (17:13 +0200)]
Merge pull request #1163 from mominul/target_cpu
Support -Ctarget-cpu
Muhammad Mominul Huque [Fri, 23 Apr 2021 14:40:27 +0000 (20:40 +0600)]
Update the error messsage
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
Muhammad Mominul Huque [Fri, 23 Apr 2021 13:55:52 +0000 (19:55 +0600)]
Handle native target-cpu variant
and raise fatal error if the specified target cpu is not supported
Muhammad Mominul Huque [Fri, 23 Apr 2021 11:04:45 +0000 (17:04 +0600)]
Support -Ctarget-cpu
bjorn3 [Wed, 21 Apr 2021 13:32:04 +0000 (15:32 +0200)]
Rustup to rustc 1.53.0-nightly (
6df26f897 2021-04-20)
bjorn3 [Wed, 21 Apr 2021 09:29:57 +0000 (11:29 +0200)]
bjorn3 [Mon, 19 Apr 2021 17:41:57 +0000 (19:41 +0200)]
Match on Symbol instead of &str in intrinsics handling
bjorn3 [Sun, 18 Apr 2021 08:58:42 +0000 (10:58 +0200)]
Extend Termination::report return value as necessary
bjorn3 [Sun, 18 Apr 2021 08:37:02 +0000 (10:37 +0200)]
Avoid .to_string() for symbol names where possible
bjorn3 [Sun, 18 Apr 2021 08:32:38 +0000 (10:32 +0200)]
Fix test
bjorn3 [Sun, 18 Apr 2021 08:29:20 +0000 (10:29 +0200)]
Call Termination::report on main result in jit mode
bjorn3 [Fri, 16 Apr 2021 12:39:46 +0000 (14:39 +0200)]
Upload artifacts for cross compiling to MinGW
Fixes #1161
bjorn3 [Fri, 16 Apr 2021 12:36:07 +0000 (14:36 +0200)]
Fix overflow checking when multiplying two i64
Fixes #1162
bjorn3 [Fri, 16 Apr 2021 12:02:57 +0000 (14:02 +0200)]
Fix rotate_left and rotate_right with 128bit shift amount
Fixes #1114
bjorn3 [Fri, 16 Apr 2021 10:35:22 +0000 (12:35 +0200)]
Disable new test
bjorn3 [Fri, 16 Apr 2021 10:21:29 +0000 (12:21 +0200)]
Fix rustc tests by updating compiler-builtins dep to 0.1.40
bjorn3 [Fri, 16 Apr 2021 09:59:20 +0000 (11:59 +0200)]
Rustup to rustc 1.53.0-nightly (
132b4e5d1 2021-04-13)
Jubilee Young [Wed, 14 Apr 2021 22:07:36 +0000 (15:07 -0700)]
Add more SIMD math.h intrinsics
LLVM supports many functions from math.h in its IR. Many of these have
single-instruction variants on various platforms. So, let's add them so
std::arch can use them.
Yes, exact comparison is intentional: rounding must always return a
valid integer-equal value, except for inf/NAN.
bjorn3 [Wed, 14 Apr 2021 17:01:51 +0000 (19:01 +0200)]
bjorn3 [Sun, 11 Apr 2021 14:35:45 +0000 (16:35 +0200)]
Avoid file name formatting when debug file writing is disabled
bjorn3 [Sat, 10 Apr 2021 11:46:28 +0000 (13:46 +0200)]
Time object file writing
bjorn3 [Wed, 14 Apr 2021 14:36:42 +0000 (16:36 +0200)]
Merge pull request #1159 from bjorn3/driver_refactorings
Driver refactorings
bjorn3 [Fri, 9 Apr 2021 09:55:46 +0000 (11:55 +0200)]
Add some documentation
bjorn3 [Fri, 9 Apr 2021 09:34:58 +0000 (11:34 +0200)]
Fix docs
bjorn3 [Thu, 8 Apr 2021 19:34:55 +0000 (21:34 +0200)]
Extract create_jit_module function
bjorn3 [Thu, 8 Apr 2021 17:22:48 +0000 (19:22 +0200)]
Merge BACKEND_CONFIG and CURRENT_MODULE thread locals
bjorn3 [Thu, 8 Apr 2021 16:27:26 +0000 (18:27 +0200)]
Don't unregister unwind tables after the JIT is done
bjorn3 [Thu, 8 Apr 2021 17:03:15 +0000 (19:03 +0200)]
Use maybe_create_entry_wrapper again in jit mode
This simplifies the jit driver a lot
bjorn3 [Thu, 8 Apr 2021 19:26:20 +0000 (21:26 +0200)]
Inline driver::codegen_crate
bjorn3 [Thu, 8 Apr 2021 20:01:39 +0000 (22:01 +0200)]
Remove CodegenCx::finalize and pass Module separately from CodegenCx
bjorn3 [Thu, 8 Apr 2021 20:04:58 +0000 (22:04 +0200)]
Don't store TyCtxt in UnwindContext
bjorn3 [Thu, 8 Apr 2021 16:08:20 +0000 (18:08 +0200)]
Re-use Context in codegen_shim
bjorn3 [Thu, 8 Apr 2021 15:57:15 +0000 (17:57 +0200)]
Enable and disable some rust-analyzer diagnostics
bjorn3 [Wed, 14 Apr 2021 09:43:58 +0000 (11:43 +0200)]
Merge pull request #1158 from bjorn3/isolate_mono_items_pr
Isolate mono items
bjorn3 [Thu, 8 Apr 2021 10:08:13 +0000 (12:08 +0200)]
Don't deduplicate anonymous allocations
bjorn3 [Wed, 7 Apr 2021 12:54:59 +0000 (14:54 +0200)]
Don't deduplicate vtables between functions
bjorn3 [Wed, 14 Apr 2021 08:34:04 +0000 (10:34 +0200)]
Update Cranelift
bjorn3 [Mon, 12 Apr 2021 10:09:05 +0000 (12:09 +0200)]
Rustfmt
pierwill [Wed, 7 Apr 2021 19:47:01 +0000 (14:47 -0500)]
Fix outdated crate names in compiler docs
Changes `librustc_X` to `rustc_X`, only in documentation comments.
Plain code comments are left unchanged.
Also fix incorrect file paths.
bjorn3 [Wed, 7 Apr 2021 09:52:11 +0000 (11:52 +0200)]
Centralize all configuration into config.rs
bjorn3 [Wed, 7 Apr 2021 09:02:54 +0000 (11:02 +0200)]
Move BackendConfig to config.rs
bjorn3 [Wed, 7 Apr 2021 08:54:43 +0000 (10:54 +0200)]
Simplify write_metadata
bjorn3 [Wed, 7 Apr 2021 08:16:01 +0000 (10:16 +0200)]
Rustup to rustc 1.53.0-nightly (
c051c5ddd 2021-04-06)
bjorn3 [Tue, 6 Apr 2021 11:59:54 +0000 (13:59 +0200)]
Fixup previous commit
bjorn3 [Tue, 6 Apr 2021 11:14:45 +0000 (13:14 +0200)]
Fix rustc test suite by ignoring rustdoc test
bjorn3 [Tue, 6 Apr 2021 10:27:45 +0000 (12:27 +0200)]
Rustup to rustc 1.53.0-nightly (
d32238532 2021-04-05)
bjorn3 [Tue, 6 Apr 2021 10:20:12 +0000 (12:20 +0200)]
bjorn3 [Wed, 31 Mar 2021 11:47:10 +0000 (13:47 +0200)]
Revert "Build with `-Cpanic=unwind` by default"
This reverts commit
afe74d71e4c2f08696ade0de321a45f7442440d8 . It
shouldn't have been pushed to master as it isn't ready yet.
bjorn3 [Wed, 31 Mar 2021 10:42:30 +0000 (12:42 +0200)]
Remove the cold block optimization
It isn't effective with the new backend framework
bjorn3 [Wed, 31 Mar 2021 10:34:01 +0000 (12:34 +0200)]
Remove the stack2reg optimization completely
It is broken and needs to be rewritten from scratch
bjorn3 [Wed, 31 Mar 2021 09:39:03 +0000 (11:39 +0200)]
Build with `-Cpanic=unwind` by default
This doesn't enable unwinding as cg_clif doesn't support it yet. It does
allow for linking to a cg_llvm compiled libstd.so, which uses
`-Cpanic=unwind`.
bjorn3 [Mon, 29 Mar 2021 09:18:52 +0000 (11:18 +0200)]
Add an Mmap wrapper to rustc_data_structures
This wrapper implements StableAddress and falls back to directly reading
the file on wasm32
bjorn3 [Mon, 29 Mar 2021 14:33:09 +0000 (16:33 +0200)]
bjorn3 [Mon, 29 Mar 2021 08:45:09 +0000 (10:45 +0200)]
Merge commit '
0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1 ' into sync_cg_clif-2021-03-29
bjorn3 [Mon, 29 Mar 2021 08:26:20 +0000 (10:26 +0200)]
Rustup to rustc 1.53.0-nightly (
4a20eb6a9 2021-03-28)
bjorn3 [Sat, 27 Mar 2021 16:32:41 +0000 (17:32 +0100)]
Make all compiler-builtins symbols hidden
This matches cg_llvm
Fixes #1152
bjorn3 [Fri, 26 Mar 2021 13:35:51 +0000 (14:35 +0100)]
Rustfmt
bjorn3 [Fri, 26 Mar 2021 12:33:03 +0000 (13:33 +0100)]
Rustup to rustc 1.53.0-nightly (
52e3dffa5 2021-03-25)
bjorn3 [Fri, 26 Mar 2021 12:02:49 +0000 (13:02 +0100)]
bjorn3 [Sun, 21 Mar 2021 09:05:48 +0000 (10:05 +0100)]
Rustfmt
bjorn3 [Sun, 21 Mar 2021 09:05:22 +0000 (10:05 +0100)]
Update Cranelift
lcnr [Sat, 13 Mar 2021 15:31:38 +0000 (16:31 +0100)]
update `const_eval_resolve`
SparrowLii [Thu, 18 Mar 2021 18:16:21 +0000 (02:16 +0800)]
Add simd_neg platform intrinsic
bjorn3 [Thu, 18 Mar 2021 11:51:58 +0000 (12:51 +0100)]
Fix rustc test suite
bjorn3 [Thu, 18 Mar 2021 11:20:24 +0000 (12:20 +0100)]
Avoid nightly feature usage where easily possible
bjorn3 [Thu, 18 Mar 2021 11:19:31 +0000 (12:19 +0100)]
Rustup to rustc 1.52.0-nightly (
36f1f04f1 2021-03-17)
bjorn3 [Wed, 17 Mar 2021 17:36:30 +0000 (18:36 +0100)]
bjorn3 [Wed, 17 Mar 2021 12:56:54 +0000 (13:56 +0100)]
Directly invoke the main function in JIT mode
Fixes #1151
bjorn3 [Wed, 17 Mar 2021 12:54:40 +0000 (13:54 +0100)]
Rustfmt
bjorn3 [Mon, 15 Mar 2021 17:01:48 +0000 (18:01 +0100)]
Enable thread test in std_example
Turns out libstd doesn't use #[thread_local] on Windows at all
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