Commit Graph

1428 Commits

Author SHA1 Message Date
Antoni Boucher
0bdc5ffd68 Support the weak variable attribute 2024-09-01 11:23:24 -04:00
Antoni Boucher
d3cfb7274d Fix clippy lint 2024-08-13 15:21:09 -04:00
Antoni Boucher
b4ef8980a3 Fix formatting 2024-08-13 13:03:25 -04:00
Antoni Boucher
b70a1ec0b1 Add missing impl Copy for *mut T 2024-08-13 11:31:27 -04:00
Guillaume Gomez
afb14f75e1 Unpin compiler-builtins
Co-authored-by: Antoni Boucher <bouanto@zoho.com>
2024-08-12 16:28:27 +02:00
Guillaume Gomez
3b45cf476a Update sysroot Cargo.lock 2024-08-12 16:10:12 +02:00
Guillaume Gomez
fb6118b824 Rename compiler-builtins-no-f16-f128 into std/compiler-builtins-no-f16-f128 2024-08-12 15:17:57 +02:00
Guillaume Gomez
8643c13e54 Fix patch libgccjit12/0001-core-Disable-portable-simd-test.patch 2024-08-12 15:17:57 +02:00
Guillaume Gomez
dd76ad45b3 Fix libcore patch 2024-08-12 15:17:57 +02:00
Guillaume Gomez
8bd9b48e7e Update compiler version to nightly-2024-08-11 2024-08-12 15:17:57 +02:00
Nadrieril
b373147918 Fixes in various places 2024-08-12 15:17:57 +02:00
Guillaume Gomez
f824fb6d9f Update compiler-builtins version to 0.1.118 2024-08-12 15:17:57 +02:00
Caleb Zulawski
51130e10f1 Hide implicit target features from diagnostics when possible 2024-08-12 15:17:57 +02:00
Caleb Zulawski
e80199cc79 Refactor and fill out target feature lists 2024-08-12 15:17:57 +02:00
bjorn3
50b374627f Move computation of decorated names out of the create_dll_import_lib method 2024-08-12 15:17:57 +02:00
bjorn3
c57eb5581f Move temp file name generation out of the create_dll_import_lib method 2024-08-12 15:17:57 +02:00
Nicholas Bishop
78f5ee6518 Update compiler_builtins to 0.1.114
The `weak-intrinsics` feature was removed from compiler_builtins in
https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the
`compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot.

In https://github.com/rust-lang/compiler-builtins/pull/593, some
builtins for f16/f128 were added. These don't work for all compiler
backends, so add a `compiler-builtins-no-f16-f128` feature and disable
it for cranelift and gcc. Also disable it for LLVM targets that don't
support it.
2024-08-12 15:17:57 +02:00
Nicholas Nethercote
1cbbac3911 Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-08-12 15:17:57 +02:00
Slanterns
88f7508da7 stabilize is_sorted 2024-08-12 15:17:57 +02:00
Guillaume Gomez
fd56f44836 Format cg_gcc with same formatting parameters 2024-08-12 15:17:57 +02:00
Guillaume Gomez
f34f3c7e7f Align cg_gcc rustfmt.toml with rust's 2024-08-12 15:17:57 +02:00
bjorn3
6199de2833 Sync ar_archive_writer to LLVM 18.1.3
From LLVM 15.0.0-rc3. This adds support for COFF archives containing
Arm64EC object files and has various fixes for AIX big archive files.
2024-08-12 15:17:57 +02:00
Michael Goulet
24ab684b44 Remove lang feature for type ascription 2024-08-12 15:17:57 +02:00
Ralf Jung
fb4738571f Miri function identity hack: account for possible inlining 2024-08-12 15:15:14 +02:00
Michael Goulet
007fa3b94e Fix spans 2024-08-12 15:15:14 +02:00
Michael Goulet
3eb28444b5 Give Instance::expect_resolve a span 2024-08-12 15:15:14 +02:00
antoyo
2cc32badb4
Merge pull request #554 from sapir/remove-void-func-debug-var
Remove dummy value locals for function ptr calls
2024-08-07 08:20:27 -04:00
sapir
4fe1647d21 Remove dummy value locals for function ptr calls 2024-08-07 13:45:19 +03:00
antoyo
fb95096593
Merge pull request #549 from sapir/value-counter
Replace stack_var_count and RETURN_VALUE_COUNT with a single counter
2024-08-05 13:38:30 -04:00
antoyo
0475182ddc
Merge pull request #548 from sapir/code-model
Code model
2024-08-05 13:36:46 -04:00
sapir
014a84029c Replace stack_var_count and RETURN_VALUE_COUNT with a single counter 2024-08-05 01:23:47 +03:00
sapir
f579dee206 Implement CodeModel 2024-08-05 00:37:59 +03:00
sapir
f7f9a3fb28 Update Cargo.lock 2024-08-05 00:37:51 +03:00
antoyo
98ed962c7d
Merge pull request #535 from rust-lang/sync_from_rust_2024_07_02
Sync from rust 2024/07/02
2024-07-05 16:09:54 -04:00
Antoni Boucher
5681c3cf68 Cleanup 2024-07-05 15:35:57 -04:00
Antoni Boucher
0b5be441cf Fix for gcc-13 without int128 2024-07-05 14:58:07 -04:00
Antoni Boucher
14d327a265 Disable run-make tests 2024-07-05 13:44:25 -04:00
Antoni Boucher
fe054be06e Second attempt at fixing LTO tests
FIXME: we now have fat LTO objects even when only bitcode is requested.
2024-07-05 11:55:08 -04:00
Antoni Boucher
bc8520d98e Revert "Fix LTO tests"
This reverts commit 2d123d08c9.
2024-07-05 11:35:16 -04:00
Antoni Boucher
2d123d08c9 Fix LTO tests
FIXME: we now have fat LTO objects even when only bitcode is requested.
2024-07-05 10:42:03 -04:00
Antoni Boucher
fc2eee58d2 Ignore more tests 2024-07-02 13:37:34 -04:00
Antoni Boucher
3e91e162f9 Ignore a stdarch test that will fail until the stdarch version in rustc is updated 2024-07-02 13:33:26 -04:00
Antoni Boucher
59de4fa991 Fix type of intrinsics 2024-07-02 12:55:30 -04:00
Antoni Boucher
63d308bd76 Fix broken libgccjit 12 CI 2024-07-02 12:43:41 -04:00
Antoni Boucher
6099d97bcb Fix rebase 2024-07-02 12:40:45 -04:00
Antoni Boucher
05a41b88a9 Merge branch 'master' into sync_from_rust_2024_07_02 2024-07-02 12:40:16 -04:00
Antoni Boucher
ee41c1904a Update to nightly-2024-07-02 2024-07-02 12:33:09 -04:00
Antoni Boucher
4d3d0d492f Fix intrinsic/generic-arithmetic-pass.rs test 2024-07-02 12:28:44 -04:00
Antoni Boucher
cd014cda8c Replace the type of global variables instead of replacing them 2024-07-02 12:28:25 -04:00
Antoni Boucher
606196b0cf Comment libgccjit 12 CI 2024-07-02 12:28:19 -04:00