| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-09-13 | Rollup merge of #146389 - jdonszelmann:no-std, r=oli-obk | Jana Dönszelmann | -2/+28 | |
| Convert `no_std` and `no_core` to the new attribute infrastructure r? ```@oli-obk``` Also added a test for these, since we didn't have any and I was kind of surprised new diagnostics didn't break anything hehe | ||||
| 2025-09-10 | fixup no_{core,std} handling code | Jana Dönszelmann | -4/+5 | |
| 2025-09-10 | Rollup merge of #146178 - folkertdev:static-align, ↵ | Matthias Krüger | -1/+30 | |
| r=jdonszelmann,ralfjung,traviscross Implement `#[rustc_align_static(N)]` on `static`s Tracking issue: https://github.com/rust-lang/rust/issues/146177 ```rust #![feature(static_align)] #[rustc_align_static(64)] static SO_ALIGNED: u64 = 0; ``` We need a different attribute than `rustc_align` because unstable attributes are tied to their feature (we can't have two unstable features use the same unstable attribute). Otherwise this uses all of the same infrastructure as `#[rustc_align]`. r? `@traviscross` | ||||
| 2025-09-09 | port `#[no_std]` to the new attribute parsing infrastructure | Jana Dönszelmann | -1/+13 | |
| 2025-09-09 | port `#[no_core]` to the new attribute parsing infrastructure | Jana Dönszelmann | -2/+15 | |
| 2025-09-09 | allow `#[rustc_align_static(N)]` on `static`s | Folkert de Vries | -1/+30 | |
| We need a different attribute than `rustc_align` because unstable attributes are tied to their feature (we can't have two unstable features use the same unstable attribute). Otherwise this uses all of the same infrastructure as `#[rustc_align]`. | ||||
| 2025-09-08 | fixup limit handling code | Jana Dönszelmann | -23/+27 | |
| 2025-09-08 | port `#[pattern_complexity_limit]` to the new attribute parsing infrastructure | Jana Dönszelmann | -1/+30 | |
| 2025-09-08 | port `#[type_length_limit]` to the new attribute parsing infrastructure | Jana Dönszelmann | -1/+31 | |
| 2025-09-08 | port `#[move_size_limit]` to the new attribute parsing infrastructure | Jana Dönszelmann | -1/+28 | |
| 2025-09-08 | port `#[recursion_limit]` to the new attribute parsing infrastructure | Jana Dönszelmann | -3/+74 | |
| 2025-08-30 | Remove incorrect FIXME | Jonathan Brouwer | -1/+1 | |
| 2025-08-28 | Rollup merge of #145937 - jdonszelmann:doc-hidden-prelude, r=fmease | Guillaume Gomez | -1/+11 | |
| add doc-hidden to exports in attribute prelude Seems to fix rust-lang/rust#145870, at least temporarily. The underlying problem of course is still there. r? `@fmease` <img width="653" height="167" alt="image" src="https://github.com/user-attachments/assets/b5a8094c-849e-4328-997d-b772f9aa4088" /> Fixes rust-lang/rust#145870 | ||||
| 2025-08-28 | Improve error messages around invalid literals in attribute arguments | Jonathan Brouwer | -23/+36 | |
| Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com> | ||||
| 2025-08-28 | Rollup merge of #143193 - JonathanBrouwer:link_rework, r=jdonszelmann | Stuart Cook | -4/+515 | |
| Port `#[link]` to the new attribute parsing infrastructure Ports `link` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971353197 | ||||
| 2025-08-27 | Port the `#[link]` attribute to the new parser | Jonathan Brouwer | -4/+514 | |
| 2025-08-27 | Move `NativeLibKind` from `rustc_session` to `rustc_hir` | Jonathan Brouwer | -0/+1 | |
| 2025-08-27 | add doc-hidden to exports in attribute prelude | Jana Dönszelmann | -1/+11 | |
| 2025-08-27 | Use `AcceptContext` in `AttribueParser::check_target` | Sasha Pourcelot | -29/+17 | |
| 2025-08-26 | Rollup merge of #145792 - scrabsha:push-umpytyxunpxq, r=jdonszelmann | Samuel Tardieu | -10/+94 | |
| Use attribute name in message for "outer attr used as inner attr" errors | ||||
| 2025-08-25 | Use attribute name in message for "outer attr used as inner attr" errors | Sasha Pourcelot | -10/+94 | |
| 2025-08-24 | Warn on macro calls for attributes that had this behaviour previously | Jonathan Brouwer | -11/+27 | |
| 2025-08-24 | fix ICE on stable related to attrs on macros | Jana Dönszelmann | -29/+12 | |
| 2025-08-24 | Port crate name to the new attribute system | Jana Dönszelmann | -9/+43 | |
| 2025-08-24 | Support lints in early attribute parsing | Jana Dönszelmann | -12/+32 | |
| 2025-08-24 | Allow errors to be emitted as fatal during attribute parsing | Jana Dönszelmann | -22/+43 | |
| 2025-08-23 | port attribute to the new parsing infrastructure | Jana Dönszelmann | -7/+110 | |
| 2025-08-22 | Rollup merge of #145762 - jdonszelmann:attrs-strings-to-symbols, r=lqd | Jacob Pratt | -31/+36 | |
| convert strings to symbols in attr diagnostics r? `@lcnr` As you rightfully noticed in https://github.com/rust-lang/rust/pull/145670 | ||||
| 2025-08-22 | Rollup merge of #145573 - veluca93:unsafe-force-target-feature, r=davidtwco | Jacob Pratt | -42/+81 | |
| Add an experimental unsafe(force_target_feature) attribute. This uses the feature gate for https://github.com/rust-lang/rust/issues/143352, but is described in https://github.com/rust-lang/rfcs/pull/3820 which is strongly tied to the experiment. | ||||
| 2025-08-22 | convert strings to symbols in attr diagnostics | Jana Dönszelmann | -31/+36 | |
| 2025-08-22 | Use the new attribute parser throughout the codebase | Jonathan Brouwer | -26/+55 | |
| 2025-08-22 | Rewrite the new attribute parser | Jonathan Brouwer | -232/+284 | |
| 2025-08-22 | Move validate_attr to `rustc_attr_parsing` | Jonathan Brouwer | -1/+395 | |
| 2025-08-22 | Add an experimental unsafe(force_target_feature) attribute. | Luca Versari | -42/+81 | |
| This uses the feature gate for https://github.com/rust-lang/rust/issues/143352, but is described in https://github.com/rust-lang/rfcs/pull/3820 which is strongly tied to the experiment. | ||||
| 2025-08-21 | split up context.rs | Jana Dönszelmann | -329/+359 | |
| 2025-08-21 | Introduce a prelude for very common imports across dozens of files | Jana Dönszelmann | -216/+70 | |
| 2025-08-21 | refactor target checking, move out of context.rs and rename MaybeWarn to Policy | Jana Dönszelmann | -324/+402 | |
| 2025-08-19 | Auto merge of #145601 - jieyouxu:rollup-t5mbqhc, r=jieyouxu | bors | -0/+1 | |
| Rollup of 10 pull requests Successful merges: - rust-lang/rust#145538 (bufreader::Buffer::backshift: don't move the uninit bytes) - rust-lang/rust#145542 (triagebot: Don't warn no-mentions on subtree updates) - rust-lang/rust#145549 (Update rust maintainers in openharmony.md) - rust-lang/rust#145550 (Avoid using `()` in `derive(From)` output.) - rust-lang/rust#145556 (Allow stability attributes on extern crates) - rust-lang/rust#145560 (Remove unused `PartialOrd`/`Ord` from bootstrap) - rust-lang/rust#145568 (ignore frontmatters in `TokenStream::new`) - rust-lang/rust#145571 (remove myself from some adhoc-groups and pings) - rust-lang/rust#145576 (Add change tracker entry for `--timings`) - rust-lang/rust#145578 (Add VEXos "linked files" support to `armv7a-vex-v5`) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2025-08-19 | Rollup merge of #145556 - JonathanBrouwer:extern-crate-stable, r=jdonszelmann | 许杰友 Jieyou Xu (Joe) | -0/+1 | |
| Allow stability attributes on extern crates Fixes https://github.com/rust-lang/rust/issues/145497 r? ``@jdonszelmann`` | ||||
| 2025-08-19 | Rollup merge of #145500 - JonathanBrouwer:must_use_target, r=jdonszelmann | 许杰友 Jieyou Xu (Joe) | -2/+22 | |
| Port must_use to the new target checking This PR ports `must_use` to the new target checking logic This also adds a tool-only suggestion to remove attributes on invalid targets, as to not immediately undo the work of https://github.com/rust-lang/rust/pull/145274 r? `@jdonszelmann` | ||||
| 2025-08-19 | Port `must_use` to the new target checking | Jonathan Brouwer | -2/+18 | |
| 2025-08-19 | Make tool-only suggestion to remove attributes on invalid targets | Jonathan Brouwer | -0/+4 | |
| 2025-08-19 | Rollup merge of #145243 - jdonszelmann:inner-attr-errors, r=petrochenkov | Stuart Cook | -11/+29 | |
| take attr style into account in diagnostics when the original attribute was specified as an inner attribute, the suggestion will now match that attribute style | ||||
| 2025-08-18 | Allow stability attributes on extern crates | Jonathan Brouwer | -0/+1 | |
| 2025-08-18 | Rollup merge of #145485 - JonathanBrouwer:fix-deprecation-targets, ↵ | Stuart Cook | -0/+5 | |
| r=jdonszelmann Fix deprecation attributes on foreign statics r? ````````@jdonszelmann```````` Fixes https://github.com/rust-lang/rust/issues/145437 | ||||
| 2025-08-16 | take attr style into account in attr diagnostics | Jana Dönszelmann | -11/+29 | |
| 2025-08-16 | Fix deprecation attribute on foreign statics & types | Jonathan Brouwer | -0/+2 | |
| 2025-08-16 | Don't show foreign types as an allowed target if the feature is not enabled | Jonathan Brouwer | -0/+3 | |
| 2025-08-15 | Port `#[custom_mir(..)]` to the new attribute system | Sasha Pourcelot | -0/+143 | |
| 2025-08-14 | Specify the list of allowed targets per attribute | Jonathan Brouwer | -44/+361 | |
