about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-09-18Fix conditions lowering text for enums with no fields (#2066)Santiago Pastorino-1/+1
2024-09-18Add diagnostics for `unsafe_op_in_unsafe_fn`Chayim Refael Friedman-10/+55
Turns out it's pretty easy, but I did have to add support for allowed-by-default lints.
2024-09-17Use `SyntaxEditor` in `extract_type_alias`DropDemBits-13/+15
2024-09-17internal: Extend `SourceChangeBuilder` to make make working with ↵DropDemBits-1/+95
`SyntaxEditor`s easier
2024-09-17Auto merge of #130483 - matthiaskrgr:rollup-q1r0g0y, r=matthiaskrgrbors-2537/+2707
Rollup of 5 pull requests Successful merges: - #129477 (Fix fluent diagnostics) - #129674 (Add new_cyclic_in for Rc and Arc) - #130452 (Update Trusty target maintainers) - #130467 (Miri subtree update) - #130477 (Revert #129749 to fix segfault in LLVM) r? `@ghost` `@rustbot` modify labels: rollup
2024-09-17Rollup merge of #130467 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-2536/+2705
Miri subtree update r? `@ghost`
2024-09-17Rollup merge of #130452 - randomPoison:trusty-update-maintainers, r=ehussMatthias Krüger-1/+2
Update Trusty target maintainers Remove Stephen Crane from the list of Trusty target maintainers and add Andrei Homescu (`@ahomescu)` and Chris Wailes.
2024-09-17Use `@only-target` in SSE and SSE2 tests tooEduardo Sánchez Muñoz-1784/+1760
It looks cleaner and makes it consistent with other X86 tests
2024-09-17ptr_offset_unsigned_overflow: extend testRalf Jung-5/+6
2024-09-17Handle errors and lints from external macrosChayim Refael Friedman-1/+62
Some lints should not be reported if they originate from an external macro, and quickfixes should be disabled (or they'll change library code).
2024-09-17Avoid an allocation in `rewrite_int_lit`Mattias Wallin-1/+1
2024-09-17Avoid allocating `Vec` in `light_rewrite_comment`Mattias Wallin-5/+3
2024-09-17Use `usize::MAX` instead of deprecated `usize::max_value`Mattias Wallin-12/+12
2024-09-17Rollup merge of #129988 - arnaudgolfouse:modify-locale_resources, r=davidtwcoMatthias Krüger-2/+2
Use `Vec` in `rustc_interface::Config::locale_resources` This allows a third-party tool to injects its own resources, when receiving the config via `rustc_driver::Callbacks::config`.
2024-09-17Add zlib to musl dist image so rust-lld will support zlib compression for ↵Kyle Huey-0/+1
debug info there. Fixes #130063.
2024-09-17Auto merge of #3891 - tiif:tokiotest, r=RalfJungbors-5/+46
Fix tokio test ICE Fixes #3858 It turned out that the issue mentioned [here](https://github.com/rust-lang/miri/issues/3858#issuecomment-2336726299) is the exact cause of ICE. So in this PR, I changed the type of ``EpollEventInterest::epfd`` from ``i32`` to ``WeakFileDescriptionRef``.
2024-09-17Tokio ICE fix: Changed the type of EpollEventInterest::epfd from i32 to ↵tiif-5/+46
WeakFileDescriptionRef
2024-09-17Auto merge of #3894 - rust-lang:rustup-2024-09-17, r=RalfJungbors-58/+60
Automatic Rustup
2024-09-17Auto merge of #3893 - rust-lang:autolabel, r=RalfJungbors-0/+12
Automatically add/remove labels when github review (requests) are used
2024-09-17fmtThe Miri Cronjob Bot-6/+2
2024-09-17Merge from rustcThe Miri Cronjob Bot-52/+58
2024-09-17Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-09-17delete sub directory "debug" to not delete the change-id fileonur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-17update proof tree chapter (#2054)lcnr-38/+35
* update proof tree chapter * uwu * cool beans
2024-09-17Auto merge of #130456 - matthiaskrgr:rollup-h2qvk1f, r=matthiaskrgrbors-50/+130
Rollup of 4 pull requests Successful merges: - #130380 (coverage: Clarify some parts of coverage counter creation) - #130427 (run_make_support: rectify symlink handling) - #130447 (rustc_llvm: update for llvm/llvm-project@2ae968a0d9fb61606b020e898d88…) - #130448 (fix: Remove duplicate `LazyLock` example.) r? `@ghost` `@rustbot` modify labels: rollup
2024-09-16Update Trusty target maintainersNicole LeGare-1/+2
2024-09-16fix: fix ambigious package name in flycheckJake-1/+1
2024-09-16Add x86_64-unknown-trusty as tier 3Nicole LeGare-0/+1
2024-09-17assert that unexpectedly unsized fields are sized in the param envLukas Markeffsky-3/+3
2024-09-17Always cache macro expansions' root node in SemanticsChayim Refael Friedman-48/+166
Previously some expansions were not cached, but were cached in the expansion cache, which caused panics when later queries tried to lookup the node from the expansion cache.
2024-09-16Automatically add/remove labesl when github review (requests) are usedOli Scherer-0/+12
2024-09-16Fix run --depOli Scherer-3/+8
2024-09-16Refator DependencyBuilder constructionOli Scherer-14/+15
2024-09-16Bump ui testOli Scherer-1991/+1884
2024-09-17Refactor FileDescription::read/writetiif-113/+206
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-45/+46
2024-09-16make `LayoutCx` not genericLukas Markeffsky-2/+2
2024-09-16Non-panicking Display for PathMattias Wallin-11/+7
2024-09-16run_make_support: rectify symlink handling许杰友 Jieyou Xu (Joe)-50/+130
Avoid confusing Unix symlinks and Windows symlinks, and since their semantics are quite different we should avoid trying to make it to automagic in how symlinks are created and deleted. Notably, the tests should reflect what type of symlinks are to be created to match what std does to make it less surprising for test readers.
2024-09-15Rollup merge of #130420 - jieyouxu:build_helpers_docs, r=onur-ozkanJubilee-0/+9
Register tool docs for `src/tools/build_helper` Fixes #130355.
2024-09-15Rollup merge of #130336 - onur-ozkan:simple-improvement, r=albertlarsan68Jubilee-5/+1
simplify `Build::update_existing_submodule` `Build::update_existing_submodule` is already doing the same thing..
2024-09-16fix clippy lintsRalf Jung-2/+2
2024-09-16fmtThe Miri Cronjob Bot-2/+2
2024-09-16Merge from rustcThe Miri Cronjob Bot-319/+794
2024-09-16Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-09-16Auto merge of #130220 - RalfJung:float-classify, r=workingjubileebors-1/+0
simplify float::classify logic I played around with the float-classify test in the hope of triggering x87 bugs by strategically adding `black_box`, and still the exact expression `@beetrees` suggested [here](https://github.com/rust-lang/rust/pull/129835#issuecomment-2325661597) remains the only case I found where we get the wrong result on x87. Curiously, this bug only occurs when MIR optimizations are enabled -- probably the extra inlining that does is required for LLVM to hit the right "bad" case in the backend. But even for that case, it makes no difference whether `classify` is implemented in the simple bit-pattern-based version or the more complicated version we had before. Without even a single testcase that can distinguish our `classify` from the naive version, I suggest we switch to the naive version.
2024-09-16Auto merge of #130377 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 25 commits in c1fa840a85eca53818895901a53fae34247448b2..a9a418d1a22f29e7dfd034e3b93f15657e608a29 2024-08-29 21:03:53 +0000 to 2024-09-15 19:13:12 +0000 - chore: revert change to Cargo.lock in f25806c (rust-lang/cargo#14547) - Disable the shell_completions tests (rust-lang/cargo#14546) - fix(vendor): trust crate version only when coming from registries (rust-lang/cargo#14530) - docs: Feature resolver version 2: clarify use of 'target' (rust-lang/cargo#14540) - Update docs for how cargo is published (rust-lang/cargo#14539) - feat: Add native comlpetion with CompleteEnv under the nightly (rust-lang/cargo#14493) - fix(new): Add to workspace relative to manifest, not current-dir (rust-lang/cargo#14505) - Fix parsing of comma separated values in --crate-type flag (rust-lang/cargo#14499) - Include public/private dependency status in `cargo metadata` (rust-lang/cargo#14504) - Remove unnecessary symbols (rust-lang/cargo#14519) - docs: bin source can be `src/main.rs` and/or in `src/bin/` (rust-lang/cargo#14515) - fix(toml): Don't require MSRV bump for pub/priv (rust-lang/cargo#14507) - bail before packaging on same version (rust-lang/cargo#14448) - Implement path-bases (RFC 3529) 2/n: `cargo [add|remove|update]` support (rust-lang/cargo#14427) - Publish workspace (rust-lang/cargo#14433) - Bump ci's version of cargo-semver-version (rust-lang/cargo#14503) - Document -Zpackage-workspace (rust-lang/cargo#14496) - uplift windows gnullvm import libraries (rust-lang/cargo#14451) - Bump to 0.84.0; update changelog (rust-lang/cargo#14495) - Fix cargo add behaving different when translating package name (rust-lang/cargo#13765) - chore(deps): update rust crate core-foundation to 0.10.0 (rust-lang/cargo#14475) - feat(resolve): Report MSRV compatible version instead of incomptible (rust-lang/cargo#14471) - Don't automatically include the current crate when packaging (rust-lang/cargo#14488) - Fix elided lifetime (rust-lang/cargo#14487) - chore(deps): update rust crate pasetors to 0.7.0 (rust-lang/cargo#14478)
2024-09-16bootstrap: register tool docs for src/tools/build_helper许杰友 Jieyou Xu (Joe)-0/+9
2024-09-16Fix printing of constants greater than `i128::MAX`Chayim Refael Friedman-3/+27
2024-09-15Rollup merge of #130151 - ChrisDenton:slow-ci, r=Mark-SimulacrumMatthias Krüger-1/+5
Use a small runner for msvc-ext2 job Hopefully this should eliminate the errors from this job. The only question is how long it takes. try-job: x86_64-msvc-ext2