bjorn3
cba05a7a14
Support naked functions
...
Fixes rust-lang/rustc_codegen_cranelift#1203
2024-05-12 18:20:14 +02:00
bjorn3
6db27529dd
Significantly reduce check cfg warnings
2024-05-12 12:59:10 +00:00
bjorn3
cfc919f532
Use cargo in y.sh
...
This will allow adding dependencies to the build system in the future.
2024-05-12 12:59:10 +00:00
bjorn3
4d6ac059e5
Add missing arg for the jit.std_example test
2024-05-03 11:11:58 +00:00
bjorn3
041666a0bd
Update abi-cafe ui128 test expectations
2024-04-22 21:04:56 +00:00
bjorn3
a74d6c2125
Only apply --cap-lints to the extended_sysroot test suite
2024-04-22 16:32:30 +00:00
bjorn3
1bab6df32b
Remove all checks for CI in the build system
...
And introduce the CG_CLIF_EXPENSIVE_CHECKS env var in the place.
2024-04-05 14:31:12 +00:00
bjorn3
f269cdd805
Move disabling incr comp and denying warnings to the CI config
2024-04-05 13:59:28 +00:00
bjorn3
737421a25b
Rustup to rustc 1.79.0-nightly ( 385fa9d84
2024-04-04)
2024-04-05 12:15:41 +00:00
bjorn3
5320a800e3
Rustup to rustc 1.78.0-nightly ( 9c3ad802d
2024-03-07)
2024-03-08 10:22:03 +00:00
Ulrich Weigand
bc1bca798f
Fix download hash check on big-endian systems
...
Ensure the hash_file and hash_dir routines give identical results
on big- and little-endian systems. The default hash routines for
integer types are endian-dependent, so all such hash inputs need
to be byte-swapped.
This applies in particular to the file hashes used as input when
computing directory hashes.
In addition, the default hash routines for composite types use
a length prefix, which it itself an integer type (usize). In
order to be able to byte-swap that prefix, we have to re-implement
those bits of the standard library ourselves.
2024-02-19 14:08:49 +01:00
bjorn3
3669dba8e8
Rustup to rustc 1.78.0-nightly ( 1a648b397
2024-02-11)
2024-02-12 16:58:51 +00:00
bjorn3
f78617994a
Update rand test
...
This contains a fix for a recently introduced warning.
2024-01-26 18:08:00 +00:00
bjorn3
604c8a7cf8
Accept [u8; N] bitmasks in simd_select_bitmask
...
Fixes rust-lang/rustc_codegen_cranelift#1446
2024-01-26 14:19:11 +00:00
bjorn3
bb7a126ecd
Sync from rust eeff92ad32
2023-12-14 13:26:46 +00:00
Ralf Jung
aa3dc4c225
remove a cranelift test that doesn't make sense any more
2023-12-12 08:15:17 +01:00
bjorn3
1095e0165c
Fix testing of portable-simd
2023-12-07 16:49:01 +00:00
bjorn3
1988cf4a18
Merge commit '710c67909d034e1c663174a016ca82b95c2d6c12' into sync_cg_clif-2023-11-25
2023-11-25 10:05:52 +00:00
bjorn3
85c708132f
Sync from rust 37b2813a7b
2023-11-25 09:24:52 +00:00
bjorn3
9c958196e7
Fix polymorphization for coroutines
...
Fixes rust-lang/rustc_codegen_cranelift#1429
2023-11-24 10:46:22 +01:00
bjorn3
4ae658683f
Fix fn_sig_for_fn_abi and the coroutine transform for generators
...
There were three issues previously:
* The self argument was pinned, despite Iterator::next taking an
unpinned mutable reference.
* A resume argument was passed, despite Iterator::next not having one.
* The return value was CoroutineState<Item, ()> rather than Option<Item>
While these things just so happened to work with the LLVM backend,
cg_clif does much stricter checks when trying to assign a value to a
place. In addition it can't handle the mismatch between the amount of
arguments specified by the FnAbi and the FnSig.
2023-11-23 20:17:19 +00:00
bjorn3
97ca520c44
check-cfg needs -Zunstable-options
2023-11-16 21:24:33 +00:00
Mark Rousskov
497c17a390
Add check-cfg to cranelift
2023-11-15 21:45:48 -05:00
bjorn3
d49fd9f877
Merge commit 'c84d1871dc4456539b7b578830268ab3539915d0' into sync_cg_clif-2023-11-10
2023-11-10 11:30:51 +00:00
bjorn3
e472b5573a
Merge commit 'c07d1e2f88cb3b1a0604ae8f18b478c1aeb7a7fa' into sync_cg_clif-2023-10-21
2023-10-21 19:54:51 +00:00
bjorn3
5d85a24442
Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into sync_cg_clif-2023-10-09
2023-10-09 08:52:46 +00:00
Tamir Duberstein
2753052adf
compiler: always use var_os("RUST_BACKTRACE")
...
There are 3 instances of var(...) and 3 instances of var_os(...); the
latter avoids an appearance of unhandled error, so use it everywhere.
2023-10-06 08:53:23 -04:00
bjorn3
59cabd7032
Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into sync_cg_clif-2023-08-09
2023-08-09 18:20:12 +00:00
bjorn3
e8168ce8a3
Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22
2023-07-22 13:32:34 +00:00
bjorn3
81ea0b29ea
Merge commit '8830dccd1d4c74f1f69b0d3bd982a3f1fcde5807' into sync_cg_clif-2023-06-15
2023-06-15 17:56:01 +00:00
bjorn3
8bf550e616
Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29
2023-04-29 12:00:43 +00:00
bjorn3
7b3bd56ed9
Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into sync_cg_clif-2023-03-15
2023-03-15 14:41:48 +00:00
bjorn3
56951e4f2b
Merge commit '7d53619064ab7045c383644cb445052d2a3d46db' into sync_cg_clif-2023-02-09
2023-02-09 12:38:16 +01:00
bjorn3
b67610f98a
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
2023-01-24 18:56:42 +01:00
bjorn3
98a276b589
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
2022-12-14 19:30:46 +01:00
Maybe Waffle
268219da02
Use as_deref
in compiler (but only where it makes sense)
2022-11-16 21:58:58 +00:00
bjorn3
63d1bf9920
Rustfmt cg_clif's build system
2022-10-23 16:43:48 +02:00
bjorn3
9950bd1dc5
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
2022-10-23 16:22:55 +02:00
Rageking8
54ee5ac073
more dupe word typos
2022-10-14 12:57:56 +08:00
bjorn3
d9bbac069b
Rustfmt
2022-08-24 17:06:47 +00:00
bjorn3
cfef0a4f8d
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
2022-08-24 18:40:58 +02:00
bjorn3
640c3f730a
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
2022-07-25 16:07:57 +02:00
bjorn3
d9025cebac
Merge commit '63734fcdd718cca089f84c42f3a42c0096cfd431' into sync_cg_clif-2022-05-15
2022-05-15 12:32:19 +02:00
bjorn3
d1904e5855
Merge commit '370c397ec9169809e5ad270079712e0043514240' into sync_cg_clif-2022-03-20
2022-03-20 16:55:21 +01:00
bjorn3
b5cbb87e62
Merge commit '35d9c6bf256968e1b40e0d554607928bdf9cebea' into sync_cg_clif-2022-02-23
2022-02-23 11:49:34 +01:00
bjorn3
a5a14258e5
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
2021-12-30 14:53:41 +01:00
bjorn3
799e067912
Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into sync_cg_clif-2021-12-20
2021-12-20 18:56:35 +01:00
bjorn3
5d3b8e7c1b
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
2021-09-19 13:56:58 +02:00
bjorn3
d220159810
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
2021-08-06 16:26:56 +02:00
bjorn3
fb92375755
Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into sync_cg_clif-2021-07-07
2021-07-07 11:14:20 +02:00