Antoni Boucher
0d47dc0cf0
Correctly handle the relocation model for LTO
2025-01-11 21:04:38 -05:00
Antoni Boucher
423701a3cf
Add comment
2025-01-11 21:04:26 -05:00
Antoni Boucher
3e4df68991
Fix for m68k
2025-01-11 21:03:58 -05:00
Antoni Boucher
93693a52dc
Disable the LTO warning for now
2025-01-11 21:03:57 -05:00
Antoni Boucher
34ed154343
Fix LTO
2025-01-11 21:02:43 -05:00
Antoni Boucher
3f23706c6c
Cleanup
2025-01-11 10:41:31 -05:00
Antoni Boucher
59afbe0913
Fix for the relocation bug
2025-01-11 10:41:31 -05:00
Antoni Boucher
8bc4863951
Fix for ThinLTO
2025-01-11 10:41:31 -05:00
Antoni Boucher
747924ad86
Debug global variable not initialized bug
2025-01-11 10:41:27 -05:00
Antoni Boucher
02198d8458
Fix a stack overflow caused by GCC creating too many local variables
2024-12-22 12:28:56 -05:00
Antoni Boucher
530cdb4b3a
Ignore new failing test
2024-12-14 18:00:07 -05:00
Antoni Boucher
86a972345c
Fix for simd_relaxed_fma
2024-12-14 17:59:23 -05:00
Antoni Boucher
e1439ba178
Automatically detect LTO tests to remove when the sysroot is not compiled with LTO
2024-12-14 17:38:11 -05:00
Antoni Boucher
660305dccb
Fix simd_gather
2024-12-14 16:45:11 -05:00
Antoni Boucher
a29fd9cc34
Fix failures CI
2024-12-14 16:40:05 -05:00
Antoni Boucher
e91ec42e33
Clean fix for undefined symbol for allocator functions
2024-12-14 16:23:37 -05:00
Antoni Boucher
64b30d344c
Merge branch 'master' into sync_from_rust_2024_12_11
2024-12-14 10:41:41 -05:00
antoyo
184d63de96
Merge pull request #582 from rust-lang/fix/ci
...
Fix CI by downgrading to Ubuntu 22.04
2024-12-14 10:41:16 -05:00
Antoni Boucher
96fd4a20cd
Do not test the time crate since one test fails
2024-12-14 09:32:15 -05:00
Antoni Boucher
0dcb1e3bc1
Fix CI by downgrading to 22.04
2024-12-14 08:59:50 -05:00
Antoni Boucher
f0d9b56e72
WIP: Fix undefined symbol for allocator functions
2024-12-14 08:51:44 -05:00
Antoni Boucher
ae84d258c9
Fix undefined function error
2024-12-13 10:46:31 -05:00
Guillaume Gomez
cd3f69974f
Merge pull request #576 from onur-ozkan/bless-lang-tests
...
stabilize `lang_tests_common` config parsing logic
2024-12-11 22:44:38 +01:00
Antoni Boucher
3cb8b1b684
Fix formatting
2024-12-11 14:15:32 -05:00
Antoni Boucher
f563abf1dd
Rename UI tests
2024-12-11 14:15:16 -05:00
Antoni Boucher
c55f60805d
Fix tests
2024-12-11 14:07:01 -05:00
Antoni Boucher
d6aedffac2
Fix compilation for libgccjit12
2024-12-11 13:53:23 -05:00
Antoni Boucher
526285c4b4
Fix clippy warnings
2024-12-11 13:49:37 -05:00
Antoni Boucher
1ef84a0626
Fix formatting
2024-12-11 13:43:53 -05:00
Antoni Boucher
6b252058e6
Update patch
2024-12-11 13:42:00 -05:00
Antoni Boucher
3dddf72f99
Update nightly version
2024-12-11 13:41:46 -05:00
Antoni Boucher
562aeb4c32
Merge branch 'master' into sync_from_rust_2024_12_11
2024-12-11 13:40:46 -05:00
antoyo
eb87eab292
Merge pull request #577 from rust-lang/fix/lld
...
Use casts instead of bitcast between pointers and integers to fix issues when using the lld linker
2024-12-11 13:28:13 -05:00
Antoni Boucher
ba97c7f418
Use casts instead of bitcast between pointers and integers to fix issues when using the lld linker
2024-12-11 12:52:27 -05:00
onur-ozkan
55fe6d97f1
stabilize lang_tests_common config parsing logic
...
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-12-10 18:38:51 +03:00
Jack Wrenn
691aec2ef3
Make Copy unsafe to implement for ADTs with unsafe fields
...
As a rule, the application of `unsafe` to a declaration requires that use-sites
of that declaration also require `unsafe`. For example, a field declared
`unsafe` may only be read in the lexical context of an `unsafe` block.
For nearly all safe traits, the safety obligations of fields are explicitly
discharged when they are mentioned in method definitions. For example,
idiomatically implementing `Clone` (a safe trait) for a type with unsafe fields
will require `unsafe` to clone those fields.
Prior to this commit, `Copy` violated this rule. The trait is marked safe, and
although it has no explicit methods, its implementation permits reads of `Self`.
This commit resolves this by making `Copy` conditionally safe to implement. It
remains safe to implement for ADTs without unsafe fields, but unsafe to
implement for ADTs with unsafe fields.
Tracking: #132922
2024-12-07 20:50:00 +00:00
Ben Kimock
2c205e1d44
Remove polymorphization
2024-12-06 16:42:09 -05:00
Matthias Krüger
714c820e64
Rollup merge of #130777 - azhogin:azhogin/reg-struct-return, r=workingjubilee
...
rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973 )
Command line flag `-Zreg-struct-return` for X86 (32-bit) for rust-for-linux.
This flag enables the same behavior as the `abi_return_struct_as_int` target spec key.
- Tracking issue: https://github.com/rust-lang/rust/issues/116973
2024-12-06 09:27:38 +01:00
Matthias Krüger
a3a4245341
Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee
...
Add simd_relaxed_fma intrinsic
Adds compiler support for https://github.com/rust-lang/portable-simd/issues/387#issuecomment-2337169786
r? `@workingjubilee`
cc `@RalfJung` is this kind of nondeterminism a problem for miri/opsem?
2024-12-03 07:48:33 +01:00
Andrew Zhogin
3ee22a4131
rust_for_linux: -Zreg-struct-return commandline flag for X86 ( #116973 )
2024-12-02 01:14:40 +07:00
Taiki Endo
7c8599b6ba
Support #[repr(simd)] types in input/output of PowerPC inline assembly
2024-11-29 00:24:36 +09:00
antoyo
9e90bed67d
Merge pull request #573 from rust-lang/update-gcc-2024-11-21
...
Update for new version of gcc
2024-11-26 17:03:49 -05:00
Antoni Boucher
6142a319ae
Update for new version of gcc
2024-11-26 12:32:23 -05:00
Taiki Endo
9e22b5701d
Support predicate registers (clobber-only) in Hexagon inline assembly
2024-11-25 23:11:17 +09:00
Taiki Endo
968e79b0ec
Make s390x non-clobber-only vector register support unstable
2024-11-24 21:42:22 +09:00
Caleb Zulawski
d6bf793bed
Add simd_relaxed_fma intrinsic
2024-11-23 14:39:42 -05:00
Taiki Endo
9cff0b1164
Support input/output in vector registers of s390x inline assembly
2024-11-22 04:18:14 +09:00
Kyle Huey
fcbc3d97b8
When the required discriminator value exceeds LLVM's limits, drop the debug info for the function instead of panicking.
...
The maximum discriminator value LLVM can currently encode is 2^12. If macro use
results in more than 2^12 calls to the same function attributed to the same
callsite, and those calls are MIR-inlined, we will require more than the maximum
discriminator value to completely represent the debug information. Once we reach
that point drop the debug info instead.
2024-11-19 05:19:09 -08:00
antoyo
ab360ea690
Merge pull request #572 from rust-lang/fix/volatile
...
Fix volatile loads and stores
2024-11-18 19:22:56 -05:00
Antoni Boucher
b9cb8ebca6
Add missing location info
2024-11-18 18:55:57 -05:00