Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b51a8ed
test(rustfmt): Verify frontmatter is preserved
epage Aug 8, 2025
e50fed7
add regression test for #145529
lolbinarycat Aug 17, 2025
15a8999
refactor rustdoc::invalid_html_tags tag parser
lolbinarycat Aug 17, 2025
d022089
rustdoc::invalid_html_tags(unclosed comment): fix off by one in span
lolbinarycat Aug 19, 2025
10fde9e
Implement some more checks for `ptr_guaranteed_cmp` in consteval:
zachs18 Jul 28, 2025
25afbbc
Remove arm::t32-specific function pointer test.
zachs18 Aug 24, 2025
5d41f7c
Fix some minor issues in comments
houpo-bob Aug 24, 2025
46a7d28
Handle unwinding fatal errors in codegen workers
bjorn3 Aug 24, 2025
00fe7d1
Move `NativeLibKind` from `rustc_session` to `rustc_hir`
JonathanBrouwer Jul 16, 2025
525c6a3
Directly raise fatal errors inside the codegen backends
bjorn3 Aug 24, 2025
9567812
compiletest: if a compiler fails outside a ui test, show its output
lolbinarycat Aug 24, 2025
78b8fdf
remove deprecated Error::description in impls
hkBst Aug 23, 2025
8533310
Port the `#[link]` attribute to the new parser
JonathanBrouwer Jul 16, 2025
ff053ba
Changes to the uitests
JonathanBrouwer Jul 16, 2025
a3229e4
Make `x test distcheck` more self-contained
Kobzol Aug 25, 2025
89f9cf3
Handle tarballs in `x test tidy`
Kobzol Aug 25, 2025
8fa5fc6
Do not forward CI configure arguments to `distcheck` builds
Kobzol Aug 25, 2025
2ea8621
Override `GITHUB_ACTIONS=0` for tidy tests
Kobzol Aug 25, 2025
d262463
Don't show warnings from xcrun with -Zverbose-internals
madsmtm Aug 25, 2025
cce9479
Wait for DPkg frontend lock when trying to remove packages
jieyouxu Aug 24, 2025
f43c6f9
Update books
rustbot Aug 25, 2025
45b47c0
Rollup merge of #143193 - JonathanBrouwer:link_rework, r=jdonszelmann
jhpratt Aug 25, 2025
640d074
Rollup merge of #144373 - hkBst:remove-deprecated-1, r=jhpratt
jhpratt Aug 25, 2025
1c21910
Rollup merge of #144885 - zachs18:ptr_guaranteed_cmp_more, r=RalfJung
jhpratt Aug 25, 2025
68eccf0
Rollup merge of #145535 - lolbinarycat:rustdoc-invalid_html_tags-svg-…
jhpratt Aug 25, 2025
996ec49
Rollup merge of #145766 - epage:rustfmt, r=calebcartwright
jhpratt Aug 25, 2025
b8fe5f5
Rollup merge of #145811 - houpo-bob:master, r=samueltardieu
jhpratt Aug 25, 2025
1cedceb
Rollup merge of #145814 - bjorn3:codegen_worker_fatal_error, r=petroc…
jhpratt Aug 25, 2025
0767150
Rollup merge of #145815 - jieyouxu:pr-check-timeout, r=marcoieni
jhpratt Aug 25, 2025
5b4a238
Rollup merge of #145821 - lolbinarycat:compiletest-error-show, r=club…
jhpratt Aug 25, 2025
afd7cae
Rollup merge of #145845 - Kobzol:fix-distcheck, r=jieyouxu
jhpratt Aug 25, 2025
a8872b5
Rollup merge of #145847 - madsmtm:no-xcrun-warnings, r=jieyouxu
jhpratt Aug 25, 2025
838586a
Rollup merge of #145856 - rustbot:docs-update, r=ehuss
jhpratt Aug 25, 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
1 change: 1 addition & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3480,6 +3480,7 @@ dependencies = [
"rustc_parse",
"rustc_session",
"rustc_span",
"rustc_target",
"thin-vec",
]

Expand Down
1 change: 1 addition & 0 deletions compiler/rustc_attr_parsing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ rustc_macros = { path = "../rustc_macros" }
rustc_parse = { path = "../rustc_parse" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
thin-vec = "0.2.12"
# tidy-alphabetical-end
52 changes: 52 additions & 0 deletions compiler/rustc_attr_parsing/messages.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,55 @@ attr_parsing_invalid_meta_item = expected a literal (`1u8`, `1.0f32`, `"string"`

attr_parsing_suffixed_literal_in_attribute = suffixed literals are not allowed in attributes
.help = instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)

attr_parsing_as_needed_compatibility =
linking modifier `as-needed` is only compatible with `dylib` and `framework` linking kinds

attr_parsing_bundle_needs_static =
linking modifier `bundle` is only compatible with `static` linking kind

attr_parsing_empty_link_name =
link name must not be empty
.label = empty link name

attr_parsing_import_name_type_raw =
import name type can only be used with link kind `raw-dylib`

attr_parsing_import_name_type_x86 =
import name type is only supported on x86

attr_parsing_incompatible_wasm_link =
`wasm_import_module` is incompatible with other arguments in `#[link]` attributes

attr_parsing_invalid_link_modifier =
invalid linking modifier syntax, expected '+' or '-' prefix before one of: bundle, verbatim, whole-archive, as-needed

attr_parsing_link_arg_unstable =
link kind `link-arg` is unstable

attr_parsing_link_cfg_unstable =
link cfg is unstable

attr_parsing_link_framework_apple =
link kind `framework` is only supported on Apple targets

attr_parsing_link_requires_name =
`#[link]` attribute requires a `name = "string"` argument
.label = missing `name` argument

attr_parsing_multiple_modifiers =
multiple `{$modifier}` modifiers in a single `modifiers` argument

attr_parsing_multiple_renamings =
multiple renamings were specified for library `{$lib_name}`
attr_parsing_raw_dylib_no_nul =
link name must not contain NUL characters if link kind is `raw-dylib`

attr_parsing_raw_dylib_elf_unstable =
link kind `raw-dylib` is unstable on ELF platforms

attr_parsing_raw_dylib_only_windows =
link kind `raw-dylib` is only supported on Windows targets

attr_parsing_whole_archive_needs_static =
linking modifier `whole-archive` is only compatible with `static` linking kind
2 changes: 1 addition & 1 deletion compiler/rustc_attr_parsing/src/attributes/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn parse_cfg_attr<'c, S: Stage>(
parse_cfg_entry(cx, single)
}

fn parse_cfg_entry<S: Stage>(
pub(crate) fn parse_cfg_entry<S: Stage>(
cx: &mut AcceptContext<'_, '_, S>,
item: &MetaItemOrLitParser<'_>,
) -> Option<CfgEntry> {
Expand Down
Loading
Loading