Skip to content

Rollup of 10 pull requests #137352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
80faf20
add test for Box::default's stack usage in debug mode
jwong101 Jan 26, 2025
9700567
reduce `Box::default` stack copies in debug mode
jwong101 Jan 26, 2025
40ecda6
Remove obsolete MinGW ThinLTO+TLS workaround
kornelski Feb 17, 2025
fe7ed27
Specify scope in `out_of_scope_macro_calls` lint
estebank Jul 23, 2024
c9fbaab
Reflow `MirPhase` comments.
nnethercote Feb 18, 2025
c039533
Improve MIR phase comments.
nnethercote Feb 18, 2025
83a7fb6
Improve how the MIR dialect/phase index is reported.
nnethercote Feb 18, 2025
dc4f948
Move `StatementAsExpression` to where it's actually used.
nnethercote Feb 5, 2025
0895fe2
Remove unused items from `query.rs`.
nnethercote Feb 5, 2025
cae9ebb
Simplify `Postorder` customization.
nnethercote Feb 19, 2025
d4609f8
Use a probe to avoid registering stray region obligations when re-che…
compiler-errors Feb 20, 2025
ea71808
Create safe helper for LLVMSetDLLStorageClass
oli-obk Feb 14, 2025
ce7f58b
Merge two operations that were always performed together
oli-obk Feb 14, 2025
835d434
Reword message
estebank Feb 19, 2025
2e2df66
Upgrade the compiler to edition 2024
compiler-errors Feb 20, 2025
2db18b3
Fix builtin lints
compiler-errors Sep 18, 2024
d5cae77
Fix overcapturing, unsafe extern blocks, and new unsafe ops
compiler-errors Feb 20, 2025
c10f47d
Fix binding mode problems
compiler-errors Feb 20, 2025
c2dba9c
Rename `InternedObligationCauseCode`.
nnethercote Feb 6, 2025
e2e4d0b
Remove an unnecessary re-export.
nnethercote Feb 6, 2025
c301ba5
Fix a typo in a comment.
nnethercote Feb 12, 2025
2f695dc
Remove unused `Body::span_for_ty_context` method.
nnethercote Feb 13, 2025
5d2d11f
Rename `ClearCrossCrate::assert_crate_local`.
nnethercote Feb 13, 2025
c49e2df
Put a `BlockTailInfo` in `BlockFrame::TailExpr`.
nnethercote Feb 13, 2025
e03c809
Remove some unnecessary `FIXME` comments.
nnethercote Feb 13, 2025
0519a58
Make `PassWhere` impl `Copy`.
nnethercote Feb 14, 2025
2edaf68
Clarify a comment.
nnethercote Feb 18, 2025
69c7e1d
add more s390x target features
folkertdev Jan 17, 2025
01ed298
Rollup merge of #128080 - estebank:out-of-scope-macro, r=petrochenkov
workingjubilee Feb 20, 2025
d26ed5a
Rollup merge of #135630 - folkertdev:s390x-target-features, r=Amanieu
workingjubilee Feb 20, 2025
8af2873
Rollup merge of #136089 - jwong101:box-default-debug-stack-usage, r=A…
workingjubilee Feb 20, 2025
272e1e6
Rollup merge of #137192 - kornelski:windows-tls-lto, r=ChrisDenton
workingjubilee Feb 20, 2025
42f4131
Rollup merge of #137204 - nnethercote:clarify-MIR-dialects-and-phases…
workingjubilee Feb 20, 2025
c29bb34
Rollup merge of #137299 - nnethercote:simplify-PostOrder-customizatio…
workingjubilee Feb 20, 2025
b2120ec
Rollup merge of #137302 - compiler-errors:stray-drop-regions, r=matth…
workingjubilee Feb 20, 2025
4972c1d
Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnr
workingjubilee Feb 20, 2025
f78a051
Rollup merge of #137313 - oli-obk:push-ywvuqkxuqyom, r=petrochenkov
workingjubilee Feb 20, 2025
a2d17a6
Rollup merge of #137333 - compiler-errors:edition-2024-fresh, r=Nadri…
workingjubilee Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion compiler/rustc_target/src/target_features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,26 @@ static LOONGARCH_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
const IBMZ_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
// tidy-alphabetical-start
("backchain", Unstable(sym::s390x_target_feature), &[]),
("deflate-conversion", Unstable(sym::s390x_target_feature), &[]),
("enhanced-sort", Unstable(sym::s390x_target_feature), &[]),
("guarded-storage", Unstable(sym::s390x_target_feature), &[]),
("high-word", Unstable(sym::s390x_target_feature), &[]),
("nnp-assist", Unstable(sym::s390x_target_feature), &["vector"]),
("transactional-execution", Unstable(sym::s390x_target_feature), &[]),
("vector", Unstable(sym::s390x_target_feature), &[]),
("vector-enhancements-1", Unstable(sym::s390x_target_feature), &["vector"]),
("vector-enhancements-2", Unstable(sym::s390x_target_feature), &["vector-enhancements-1"]),
("vector-packed-decimal", Unstable(sym::s390x_target_feature), &["vector"]),
(
"vector-packed-decimal-enhancement",
Unstable(sym::s390x_target_feature),
&["vector-packed-decimal"],
),
(
"vector-packed-decimal-enhancement-2",
Unstable(sym::s390x_target_feature),
&["vector-packed-decimal-enhancement"],
),
// tidy-alphabetical-end
];

Expand Down Expand Up @@ -768,7 +787,7 @@ impl Target {
/// the first list contains target features that must be enabled for ABI reasons,
/// and the second list contains target feature that must be disabled for ABI reasons.
///
/// These features are automatically appended to whatever the target spec sats as default
/// These features are automatically appended to whatever the target spec sets as default
/// features for the target.
///
/// All features enabled/disabled via `-Ctarget-features` and `#[target_features]` are checked
Expand Down
11 changes: 11 additions & 0 deletions tests/ui/check-cfg/target_feature.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`cssc`
`d`
`d32`
`deflate-conversion`
`dit`
`doloop`
`dotprod`
Expand All @@ -72,6 +73,7 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`ecv`
`edsp`
`elrw`
`enhanced-sort`
`ermsb`
`exception-handling`
`extended-const`
Expand Down Expand Up @@ -109,11 +111,13 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`frintts`
`fxsr`
`gfni`
`guarded-storage`
`hard-float`
`hard-float-abi`
`hard-tp`
`hbc`
`high-registers`
`high-word`
`hvx`
`hvx-length128b`
`hwdiv`
Expand Down Expand Up @@ -151,6 +155,7 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`multivalue`
`mutable-globals`
`neon`
`nnp-assist`
`nontrapping-fptoint`
`nvic`
`paca`
Expand Down Expand Up @@ -229,6 +234,7 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`thumb-mode`
`thumb2`
`tme`
`transactional-execution`
`trust`
`trustzone`
`ual`
Expand Down Expand Up @@ -262,6 +268,11 @@ LL | cfg!(target_feature = "_UNEXPECTED_VALUE");
`vdspv1`
`vdspv2`
`vector`
`vector-enhancements-1`
`vector-enhancements-2`
`vector-packed-decimal`
`vector-packed-decimal-enhancement`
`vector-packed-decimal-enhancement-2`
`vfp2`
`vfp3`
`vfp4`
Expand Down