Antoni Boucher
ed64abc14d
Update gccjit_sys
2025-12-02 11:39:15 -05:00
antoyo
df9894b877
Merge pull request #811 from rust-lang/fix/use-fallback-sysroot
...
Use fallback sysroot directory if we cannot find libgccjit.so in the explicit directory
2025-11-30 15:08:53 -05:00
Antoni Boucher
2da3314f39
Use fallback sysroot directory if we cannot find libgccjit.so in the explicit directory
2025-11-30 14:36:18 -05:00
Harin
b87bfdc9fc
Better document some combinations of flags ( #808 )
...
---------
Co-authored-by: FrancescoV1985 <franci.vi@tiscali.it >
Co-authored-by: FrancescoV1985 <62872737+FrancescoV1985@users.noreply.github.com >
Co-authored-by: antoyo <antoyo@users.noreply.github.com >
2025-11-28 14:58:07 -05:00
antoyo
c3c8a9a85f
Merge pull request #635 from dvermd/fix_128b_leading_zeros_ub
...
fix 128bits ctlz intrinsincs UB
2025-11-28 10:11:51 -05:00
antoyo
55bd9bf692
Merge pull request #810 from rust-lang/generic-checked-binop
...
Use generic builtin for saturating add/sub
2025-11-28 00:02:18 -05:00
Antoni Boucher
c1f50c0a17
Use generic builtin for saturating add/sub
2025-11-27 17:02:13 -05:00
antoyo
05af078498
Merge pull request #809 from rust-lang/generic-checked-binop
...
Use generic builtin for checked binary operation
2025-11-27 16:50:39 -05:00
Antoni Boucher
364af529e7
Use generic builtin for checked binary operation
2025-11-27 16:14:23 -05:00
antoyo
55171cfa8b
Merge pull request #807 from rust-lang/move-libgccjit-in-sysroot
...
Move libgccjit.so in the sysroot
2025-11-26 13:31:03 -05:00
Antoni Boucher
2567d8171a
Move libgccjit.so in the sysroot
...
This will be useful for the unification work of the handling of the
library between all Rust setups.
2025-11-26 12:52:12 -05:00
antoyo
9d4c385c34
Merge pull request #806 from GuillaumeGomez/update-dep
...
Update gccjit dependency
2025-11-26 08:57:04 -05:00
Guillaume Gomez
53dcfce670
Update gccjit dependency
2025-11-26 14:33:14 +01:00
antoyo
a9a8a9e513
Merge pull request #805 from rust-lang/feature/dlopen
...
Dlopen libgccjit.so in order to support multiple targets more easily
2025-11-25 21:44:22 -05:00
Antoni Boucher
cfcd7ebf2d
Dlopen libgccjit.so in order to support multiple targets more easily
2025-11-25 21:21:34 -05:00
antoyo
709f1cf79f
Merge pull request #804 from rust-lang/sync_from_rust_2025_11_24
...
Update to nightly-2025-11-24
2025-11-25 15:42:17 -05:00
Antoni Boucher
92f999471f
Add dummy mapping for new tile builtins
2025-11-25 15:17:43 -05:00
Antoni Boucher
096b622e08
Implement simd_masked_load and simd_masked_store
2025-11-25 15:17:43 -05:00
dvermd
a9b15b6103
add ubsan to Debug test Profile
2025-11-25 19:35:59 +01:00
dvermd
d7023631df
add ctlz and cttz tests
2025-11-25 19:35:59 +01:00
Antoni Boucher
bd64989880
Add failing UI tests
2025-11-25 09:57:07 -05:00
dvermd
8f21e24bfe
factorize count leading and trailing zeros code
2025-11-25 05:46:14 +01:00
Antoni Boucher
35e02dd6ce
Switch from #[expect] to #[allow] because of a clippy bug
2025-11-24 11:24:54 -05:00
Antoni Boucher
99a3e75f59
Update to nightly-2025-11-24
2025-11-24 10:35:32 -05:00
antoyo
fdf04dfcdf
Merge pull request #803 from harin-ramesh/doc/issue-603
...
Clarify -Cllvm-args forwarding to GCC in Readme
2025-11-23 12:21:40 -05:00
Harin
e95bba142b
docs: Move -Cllvm-args forwarding explanation to tips.md
2025-11-23 22:29:16 +05:30
Harin
2da6c169a8
Clarify -Cllvm-args forwarding to GCC in Readme
2025-11-23 22:04:48 +05:30
dvermd
e4fd312a16
fix 128bit cttz intrinsic UB
2025-11-17 09:42:09 +01:00
dvermd
485b53c85b
fix 128bit ctlz intrinsic UB
2025-11-17 09:42:09 +01:00
antoyo
db67f597b0
Merge pull request #800 from rust-lang/sync_from_rust_2025_11_13
...
Sync from rust 2025/11/13
2025-11-14 15:53:31 -05:00
Antoni Boucher
4767bbfc69
Remove passing UI test
2025-11-14 12:44:27 -05:00
Antoni Boucher
9dd009eb66
Add back failing LTO tests
2025-11-14 12:44:22 -05:00
Antoni Boucher
58684b30a9
Add new failing UI tests
2025-11-13 17:45:48 -05:00
Antoni Boucher
95125dd3f9
Add --bypass-ignore-backends flag
2025-11-13 17:16:46 -05:00
Antoni Boucher
0a7459be83
Update to nightly-2025-11-13
2025-11-13 17:16:38 -05:00
Antoni Boucher
7ba799d479
Merge branch 'master' into sync_from_rust_2025_11_13
2025-11-13 17:12:04 -05:00
bors
3e1d5371ea
Auto merge of #148481 - GuillaumeGomez:subtree-update_cg_gcc_2025-11-04, r=GuillaumeGomez
...
Sync rustc_codegen_gcc subtree
cc `@antoyo`
r? ghost
2025-11-13 18:00:02 +00:00
Jeremy Fitzhardinge
f7b6605209
Add -Zannotate-moves for profiler visibility of move/copy operations
...
This implements a new unstable compiler flag `-Zannotate-moves` that makes
move and copy operations visible in profilers by creating synthetic debug
information. This is achieved with zero runtime cost by manipulating debug
info scopes to make moves/copies appear as calls to `compiler_move<T, SIZE>`
and `compiler_copy<T, SIZE>` marker functions in profiling tools.
This allows developers to identify expensive move/copy operations in their
code using standard profiling tools, without requiring specialized tooling
or runtime instrumentation.
The implementation works at codegen time. When processing MIR operands
(`Operand::Move` and `Operand::Copy`), the codegen creates an `OperandRef`
with an optional `move_annotation` field containing an `Instance` of the
appropriate profiling marker function. When storing the operand,
`store_with_annotation()` wraps the store operation in a synthetic debug
scope that makes it appear inlined from the marker.
Two marker functions (`compiler_move` and `compiler_copy`) are defined
in `library/core/src/profiling.rs`. These are never actually called -
they exist solely as debug info anchors.
Operations are only annotated if the type:
- Meets the size threshold (default: 65 bytes, configurable via
`-Zannotate-moves=SIZE`)
- Has a non-scalar backend representation (scalars use registers,
not memcpy)
This has a very small size impact on object file size. With the default
limit it's well under 0.1%, and even with a very small limit of 8 bytes
it's still ~1.5%. This could be enabled by default.
2025-11-06 15:39:45 -08:00
bors
7d3a4569d3
Auto merge of #148544 - matthiaskrgr:rollup-n9dqgwc, r=matthiaskrgr
...
Rollup of 8 pull requests
Successful merges:
- rust-lang/rust#147994 (Deduplicate deprecation warning when using unit or tuple structs)
- rust-lang/rust#148440 ([rustdoc search] Simplify itemTypes and filter "dependencies")
- rust-lang/rust#148501 (triagebot: Create Zulip topics for libs backports)
- rust-lang/rust#148517 (Remove no longer necessary lint allow)
- rust-lang/rust#148518 (Unify the configuration of the compiler docs)
- rust-lang/rust#148523 (miri subtree update)
- rust-lang/rust#148525 (Fix ICE from lit_to_mir_constant caused by type error)
- rust-lang/rust#148534 (Merge `Vec::push{,_mut}_within_capacity`)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-11-05 21:07:24 +00:00
bors
2b0da9bf1f
Auto merge of #148516 - bjorn3:target_feature_parsing_improvements, r=WaffleLapkin
...
Move warning reporting from flag_to_backend_features to cfg_target_feature
This way warnings are emitted even in a check build.
2025-11-05 17:56:16 +00:00
antoyo
f25ac1d9e9
Merge pull request #797 from GuillaumeGomez/clean-up-allow
...
Replace `allow` attributes with `expect` and remove unused attributes
2025-11-05 08:31:37 -05:00
Guillaume Gomez
884cea152d
Only generate expect attribute if needed
2025-11-05 12:36:16 +01:00
Guillaume Gomez
1548ba6a46
Replace allow attributes with expect and remove unused attributes
2025-11-05 12:28:28 +01:00
bjorn3
3a7f4c4c87
Unify the configuration of the compiler docs
...
Previously it was rather inconsistent which crates got the rust logo and
which didn't and setting html_root_url was forgotten in many cases.
2025-11-05 11:25:27 +00:00
bjorn3
a6ca4f5290
Move warning reporting from flag_to_backend_features to cfg_target_feature
...
This way warnings are emitted even in a check build.
2025-11-05 10:48:29 +00:00
Tamir Duberstein
44b269db14
rustc_target: allow unenumerated architectures
2025-11-04 21:28:28 -05:00
Tamir Duberstein
75f402847f
rustc_target: introduce Arch
...
Improve type safety by using an enum rather than strings.
2025-11-04 21:27:22 -05:00
Guillaume Gomez
b3f16fde9c
Merge commit 'e785c50dad2944c7b4fb2d929de531f859db1e99' into subtree-update_cg_gcc_2025-11-04
2025-11-04 16:01:49 +01:00
antoyo
e785c50dad
Merge pull request #795 from rust-lang/sync_from_rust_2025_11_01
...
Sync from rust 2025/11/01
2025-11-04 09:24:45 -05:00
Antoni Boucher
76a7e795f2
Update to nightly-2025-11-04
2025-11-04 08:51:47 -05:00