rust/compiler/rustc_codegen_ssa/src
Matthias Krüger 30cd4b3a16
Rollup merge of #109088 - Nilstrieb:target-feature-on-statics-when, r=compiler-errors
Gracefully handle `#[target_feature]` on statics

The was careful around not calling `fn_sig` on not-functions but well, it wasn't careful enough. This commit makes it a little more careful and also adds tests for a bunch more item kinds.

I was sadly not able to fully bless the test locally because I'm on an aarch64 machine but I hope some manual editing made it work 😅

Fix #109079
2023-03-13 21:55:39 +01:00
..
back Don't export of __rust_* alloc symbols if not codegened 2023-03-09 19:21:44 -05:00
coverageinfo Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
debuginfo s/eval_usize/eval_target_usize/ for clarity 2023-02-14 08:51:19 +00:00
mir Rollup merge of #108739 - 823984418:patch-1, r=cjgillot 2023-03-11 15:43:15 +01:00
traits various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
base.rs Don't export of __rust_* alloc symbols if not codegened 2023-03-09 19:21:44 -05:00
codegen_attrs.rs Rollup merge of #109088 - Nilstrieb:target-feature-on-statics-when, r=compiler-errors 2023-03-13 21:55:39 +01:00
common.rs DELETE - fn span_invalid_monomorphization_error and localize intrinsics macros 2022-12-27 20:59:22 -05:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
glue.rs Add 0..=isize::MAX range metadata to size loads from vtables 2022-12-08 01:30:07 -05:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
meth.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
mono_item.rs Store a LocalDefId in hir::AnonConst. 2022-11-13 14:06:11 +00:00
target_features.rs Auto merge of #109001 - matthiaskrgr:rollup-a3agnwp, r=matthiaskrgr 2023-03-11 07:28:44 +00:00