bjorn3
6a31385363
Misc target related improvements
2021-07-03 14:28:53 +02:00
bjorn3
55e0779708
Check if the patched sysroot source is up to date before using it
...
Fixes #1181
2021-07-02 19:14:02 +02:00
bjorn3
4c440af7c1
Merge pull request #1183 from bjorn3/full_aarch64_support
...
AArch64 support on Linux
2021-07-02 15:03:16 +02:00
bjorn3
3dc9ec246c
[CI] Cross compile to aarch64-unknown-linux-gnu
2021-07-02 14:48:50 +02:00
bjorn3
42f9ad56e9
[CI] Split build and test steps
2021-07-02 14:43:12 +02:00
bjorn3
e8ff364493
Fix rust-analyzer setting
2021-07-02 12:39:51 +02:00
bjorn3
cda811173e
Fix compilation for AArch64
2021-07-02 12:39:48 +02:00
bjorn3
1bd9a132f6
Only test global_asm on x86_64
2021-07-02 12:17:26 +02:00
bjorn3
dd1419a1c4
Update Cranelift and object
...
This adds AArch64 support for unixes using ELF object files like Linux
2021-07-02 12:16:22 +02:00
bjorn3
ae98d5a78d
Don't use data object for non-primitive scalars
...
Fixes #1041
2021-07-02 12:07:08 +02:00
bjorn3
e0f3ad2118
Disable new rustc test requiring unwinding support
2021-07-02 11:32:27 +02:00
bjorn3
f5a1633956
Reduce duplication of vtables
2021-07-01 12:05:10 +02:00
bjorn3
4cbba98420
Rustup to rustc 1.55.0-nightly ( 6d820866a
2021-06-29)
2021-06-30 21:21:06 +02:00
Smitty
17373a9401
fix sess error
...
This passed x.py check locally, not sure why it wasn't rebased right...
2021-06-29 19:17:14 -04:00
Smitty
6048adc8b1
Support allocation failures when interperting MIR
...
Note that this breaks Miri.
Closes #79601
2021-06-29 19:08:26 -04:00
bjorn3
3ec2b444b1
Sync from rust e98897e5dc
2021-06-29 20:38:04 +02:00
bors
b186f8605a
Auto merge of #86475 - crlf0710:miri_vtable_refactor, r=bjorn3
...
Change vtable memory representation to use tcx allocated allocations.
This fixes https://github.com/rust-lang/rust/issues/86324 . However i suspect there's more to change before it can land.
r? `@bjorn3`
cc `@rust-lang/miri`
2021-06-29 15:52:21 +00:00
Charles Lew
4d289dba2e
Update other codegens to use tcx managed vtable allocations.
2021-06-28 19:39:48 +08:00
bors
e0af5f783c
Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
...
Make allocator_kind a query.
Part of #85153
r? `@Aaron1011`
2021-06-28 01:20:01 +00:00
bjorn3
0d1cedecbb
Merge pull request #1166 from eggyal/lazy-jit-multithreaded
...
Multithreading support for lazy-jit
2021-06-25 18:33:00 +02:00
bjorn3
57c6eb7b2b
Test multithreading support in lazy-jit
2021-06-25 17:49:43 +02:00
bors
e475efb1ad
Auto merge of #85640 - bjorn3:custom_ice_hook, r=jackh726
...
Allow changing the bug report url for the ice hook
cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/1174
2021-06-25 04:06:32 +00:00
bjorn3
089d986c5c
Remove unused variable
2021-06-20 18:26:17 +02:00
bjorn3
b33a3ec697
Merge pull request #1180 from bjorn3/rust_build_system
...
Rewrite part of the build system in rust
2021-06-20 14:55:36 +02:00
bjorn3
03c9ecfb30
Remove unnecessary LD_LIBRARY_PATH parts
2021-06-20 14:40:49 +02:00
bjorn3
62e49c5b61
Fix compiling cargo.rs on windows
2021-06-20 13:33:29 +02:00
bjorn3
80e9188fb1
Rewrite cargo.sh in rust
2021-06-20 12:56:47 +02:00
Camille GILLOT
b497c7d954
Make allocator_kind a query.
2021-06-20 11:52:51 +02:00
bjorn3
9fd8fa2123
Move some things from config.sh to ext_config.sh
2021-06-19 14:51:48 +02:00
bjorn3
d571910f4d
Give an error when attempting to build for MSVC
2021-06-19 14:07:56 +02:00
bjorn3
bc67726882
Update rust-analyzer import assist config
2021-06-19 13:59:25 +02:00
bjorn3
b0d7b526d9
[CI] Test compilation on Windows
2021-06-19 13:59:13 +02:00
bjorn3
e5563b5077
Improve windows support
2021-06-19 13:58:32 +02:00
bjorn3
0d6b3dab65
Allow preserving the old sysroot
2021-06-19 13:58:32 +02:00
bjorn3
ad971bbed7
Rewrite build_sysroot.sh in rust
2021-06-19 13:58:32 +02:00
bjorn3
d71b12535e
Merge the crate_patches dir into the patches dir
2021-06-19 13:58:32 +02:00
bjorn3
066d5f952c
Rewrite prepare_sysroot_src.sh in rust
2021-06-19 13:58:32 +02:00
bjorn3
fe6a2892a6
Rewrite prepare.sh in rust
2021-06-19 13:54:25 +02:00
bjorn3
2db4e50618
Rewrite build.sh in rust
...
This makes it easier to compile cg_clif on systems that don't support
bash shell scripts like Windows
2021-06-19 13:54:25 +02:00
bjorn3
0ddb937624
Update rust patch for compiler_builtins update
2021-06-17 18:42:09 +02:00
bjorn3
ab7f1c8a0e
Fix miscompilation in vtable access
...
Fixes #1179
2021-06-17 18:41:43 +02:00
bjorn3
a12e23bc7e
Rustup to rustc 1.55.0-nightly ( a85f584ae
2021-06-16)
2021-06-17 15:36:32 +02:00
bjorn3
b0d1f50301
Sync from rust b17d9c1332
2021-06-17 15:22:37 +02:00
Alan Egerton
5c78324215
Remove lack of mulithreading support from usage.md
2021-06-17 09:51:04 +01:00
Alan Egerton
4a7068dbfc
Ensure Instances are only jitted once
2021-06-17 09:42:38 +01:00
Alan Egerton
2945b96e58
Multithreading support for lazy-jit
2021-06-17 09:42:37 +01:00
bors
9be7ca00f1
Auto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3
...
Refactor vtable codegen
This refactor the codegen of vtables of miri interpreter, llvm, cranelift codegen backends.
This is preparation for the implementation of trait upcasting feature. cc #65991
Note that aside from code reorganization, there's an internal behavior change here that now InstanceDef::Virtual's index now include the three metadata slots, and now the first method is with index 3.
cc `@RalfJung` `@bjorn3`
2021-06-16 07:20:27 +00:00
Alexander
432285fbc6
Implement llvm.x86.addcarry.64 and llvm.x86.subborrow.64 ( #1178 )
2021-06-15 13:41:46 +02:00
LeSeulArtichaut
8923e42a05
Use the now available implementation of IntoIterator
for arrays
2021-06-14 23:40:09 +02:00
Charles Lew
d3e123fc4f
Refactor to make interpreter and codegen backend neutral to vtable internal representation.
2021-06-15 01:59:00 +08:00