summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-11-13Auto merge of #117843 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.74.0bors-55/+314
[stable] Prepare 1.74.0 release https://forge.rust-lang.org/release/process.html#promote-branches-t-3-days-monday Also backports: * Disabling specialization as an alternative backport of "Fix excessive initialization and reads beyond EOF in io::copy(_, Vec<u8>) specialization #117576" * coverage: Avoid creating malformed macro name spans #117827 r? `@Mark-Simulacrum`
2023-11-12coverage: Regression test for #117788Zalathar-0/+74
Without the workaround applied, this test will produce malformed mappings that cause `llvm-cov` to fail. (And if it does emit well-formed mappings, they should be obviously incorrect.)
2023-11-12coverage: Avoid creating malformed macro name spansZalathar-0/+6
This method is trying to detect macro invocations, so that it can split a span into two parts just after the `!` of the invocation. Under some circumstances (probably involving nested macros), it gets confused and produces a span that is larger than the original span, and possibly extends outside its enclosing function and even into an adjacent file. In extreme cases, that can result in malformed coverage mappings that cause `llvm-cov` to fail. For now, we at least want to detect these egregious cases and avoid them, so that coverage reports can still be produced.
2023-11-12[beta] remove specialization that caused perf regressionThe 8472-54/+0
the fix on nightly is recent and should get time to bake, removal of the optimization is the less risky approach for a backport
2023-11-12Prepare 1.74.0 releaseMark Rousskov-1/+234
2023-11-10Auto merge of #117757 - flip1995:clippy-beta-backport, r=cuviperbors-140/+72
[beta] Clippy beta backport Follow-up to the stable backport done in - #116364: https://github.com/rust-lang/rust/pull/116364/commits/d3f6573c121b383d686ee013f24a7ae06c0e344b r? `@Mark-Simulacrum`
2023-11-10Auto merge of #117764 - cuviper:beta-next, r=cuviperbors-183/+307
[beta] backports - dropck_outlives check whether generator witness needs_drop #117134 - Make sure that predicates with unmentioned bound vars are still considered global in the old solver #117589 - Check binders with bound vars for global bounds that don't hold #117637 - generator layout: ignore fake borrows #117712 r? ghost
2023-11-09update mir-opt testslcnr-21/+21
(cherry picked from commit 92267c9794accc7fb990598f23de4ec4b3831c6d)
2023-11-09rename `BorrowKind::Shallow` to `Fake`lcnr-68/+75
also adds some comments (cherry picked from commit 992d93f687c75f8f5ee69e0fb43bff509c7c9cb8)
2023-11-09generator layout: ignore fake borrowslcnr-3/+42
(cherry picked from commit a42eca42df821a1d6e74a931195a00258f94bd6a)
2023-11-09instrument constituent types computationlcnr-0/+3
(cherry picked from commit bf360d407eb36ebb0cf508f6d6df9a41adf27229)
2023-11-09add test for trivial bound not holding in `soa-derive`Rémy Rakic-0/+8
(cherry picked from commit 58351ae03f19520a586e7c3c1b13e74a9613d1d5)
2023-11-09check binders with bound vars for global bounds that don't holdRémy Rakic-1/+2
(instead of just late bound vars) (cherry picked from commit 2beca157c96329da93320de83bdb7192bf02fa96)
2023-11-09Make sure that predicates with unmentioned bound vars are still considered ↵Michael Goulet-32/+47
global in the old solver (cherry picked from commit 32294fc0ed1810a16fcea649955a9b21ea061734)
2023-11-09review + add testslcnr-4/+45
(cherry picked from commit dda5e32ab0756642a5541678f5f42a3fe207eb6f)
2023-11-09only erase param env regions where neededlcnr-2/+2
(cherry picked from commit a582e9638b1653c269a4cba0ed00f78eb138b7e7)
2023-11-09dropck_outlives check generator witness needs_droplcnr-58/+69
(cherry picked from commit 57253552de475856a1f3bddedcd76e775892f770)
2023-11-09remove outdated commentlcnr-1/+0
(cherry picked from commit f0df3d2dfbdab3567520366c979df4e20b2796f9)
2023-11-09Auto merge of #11596 - blyxyas:fix-fp-needless_pass_by_ref_mut, r=Jarchobors-140/+72
Move `needless_pass_by_ref_mut`: `suspicious` -> `nursery` [Related to [this Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/needless_pass_by_ref_mut.20isn't.20ready.20for.20stable)] `needless_pass_by_ref_mut` has been released with some important bugs (notably having a lot of reported false positives and an ICE). So it may not be really ready for being in stable until these problems are solved. This PR changes the lint's category from `suspicious` to `nursery`, just that. changelog: none
2023-11-07Auto merge of #117644 - cuviper:beta-next, r=cuviperbors-114/+124
[beta] backports - ensure the parent path's existence on `x install` #116349 - Remove `cfg_match` from the prelude #117162 - improve and fix `x install` #117383 - Update to LLVM 17.0.4 #117436 r? cuviper
2023-11-06Update to LLVM 17.0.4Nikita Popov-0/+0
(cherry picked from commit 9df857f658ad3acfdf45268952911d51ad58123a)
2023-11-06improve and fix x installonur-ozkan-22/+30
Fix: Write access check of `prefix` and `sysconfdir` when DESTDIR is present. Improvement: Instead of repeatedly reading `DESTDIR` within each `fn prepare_dir` usage, read it once and pass it to the `fn prepare_dir`. Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit 4b14048d6037a2da5601952a2dd36fe67d04218b)
2023-11-06Remove `cfg_match` from the preludeCaio-89/+91
(cherry picked from commit 0b96e479ca11daf3bdc5a1a6f002e8bbe516f487)
2023-11-06ensure the parent path's existence on `x install`onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev> (cherry picked from commit 2c8759ef8a91b70b567a7459694635ed70c19248)
2023-10-21Auto merge of #117005 - cuviper:beta-next, r=cuviperbors-507/+601
[beta] backports and stage0 bump - Bump stage0 to released stable compiler - Hide host effect params from docs #116670 - Fix a performance regression in obligation deduplication. #116826 - Make `#[repr(Rust)]` and `#[repr(C)]` incompatible with one another #116829 - Update to LLVM 17.0.3 #116840 - Disable effects in libcore again #116856 - revert rust-lang/rust#114586 #116879 r? cuviper
2023-10-21Auto merge of #116997 - weihanglo:update-beta-cargo, r=weihanglobors-0/+0
[beta-1.74] Update cargo 1 commits in 22a976c6fb1bef45abcf182b4c7def87ad8b4a4d..ecb9851afd3095e988daaa35a48bc7f3cb748e04 2023-10-12 00:06:40 +0000 to 2023-10-18 20:42:16 +0000 - [beta-1.74.0] Partial-version spec support (rust-lang/cargo#12847) r? ghost
2023-10-20revert rust-lang/rust#114586Ali MJ Al-Nasrawy-103/+128
(cherry picked from commit a1e274f1721f6be4a36afe10e57a6825eeeaf848)
2023-10-20Disable effects in libcore againOli Scherer-1/+30
(cherry picked from commit bcdd3d77397295f1e20cd257c306d25c3a32dde2)
2023-10-20Update to LLVM 17.0.3Nikita Popov-0/+0
(cherry picked from commit ab22470eb3592f41634e411ffe98343f70053e57)
2023-10-20Make `#[repr(Rust)]` and `#[repr(C)]` incompatible with one anotherLeón Orell Valerian Liehr-4/+80
(cherry picked from commit d0b99e3efe62b5acc107da9c84331eae6cbe5a0d)
2023-10-20Fix a performance regression in obligation deduplication.Nicholas Nethercote-4/+4
Commit 8378487 from #114611 changed the location of an obligation deduplication step in `opt_normalize_projection_type`. This meant that deduplication stopped happening on one path where it was still necessary, causing a couple of drastic performance regressions. This commit moves the deduplication back to the old location. The good news is that #114611 had four commits and 8378487 was of minimal importance, so the perf benefits from that PR remain. Fixes #116780, #116797. (cherry picked from commit 91f2fbc867bfc31f2e103b09e605c61f1a450b33)
2023-10-20Add some FIXMEs for remaining issues that we need to fix before using more ↵Oli Scherer-0/+4
const trait things in libcore (cherry picked from commit 16f8396f6df6902eeef580396785ab8888c3718b)
2023-10-20hide `host` param from generic parameter list of `~const` boundsOli Scherer-9/+18
(cherry picked from commit 6724f9926c9e8c2d37e3e68e44238897bd89fddf)
2023-10-20Add regression test for generic args showing `host` paramOli Scherer-0/+12
(cherry picked from commit cfb6afa2965a1504f366eb258193219c4a820141)
2023-10-20Test cross crateOli Scherer-0/+15
(cherry picked from commit 8f2af7e010945e6d57e839db2673e276e8bf6532)
2023-10-20Hide host effect params from docsOli Scherer-15/+19
(cherry picked from commit c4e61faf2e078dc30b62488326404137600e5e11)
2023-10-20Add regression testsOli Scherer-0/+19
(cherry picked from commit 20363f40a938d05df68a775bacc9ca52c7490c7c)
2023-10-20Bump stage0 to released stable compilerJosh Stone-374/+275
2023-10-20[beta-1.74] Update cargoWeihang Lo-0/+0
2023-10-13Auto merge of #116648 - weihanglo:update-beta-cargo, r=ehussbors-0/+0
[beta-1.74] Update cargo 1 commits in 59596f0f31a94fde48b5aa7e945cd0b7ceca9620..22a976c6fb1bef45abcf182b4c7def87ad8b4a4d 2023-09-29 19:29:17 +0000 to 2023-10-12 00:06:40 +0000 - [beta 1.74] Update curl-sys to pull in curl 8.4.0 (rust-lang/cargo#12809) r? `@ehuss`
2023-10-11[beta-1.74] Update cargoWeihang Lo-0/+0
2023-10-03Auto merge of #116362 - Mark-Simulacrum:beta-backport, r=Mark-Simulacrumbors-116/+128
[beta] promote release r? `@Mark-Simulacrum`
2023-10-03Override wasm32 release channel to nightlyMark Rousskov-1/+13
This should fix running tests on the emscripten target. In the future it's expected we'll want to entirely remove this builder since it's a tier 2 target, but for this initially beta-targeted patch keeping the changes minimal is preferred.
2023-10-02Bump to betaMark Rousskov-1/+1
2023-10-02Bump version placeholdersMark Rousskov-114/+114
2023-10-01Auto merge of #116108 - onur-ozkan:support-make-jobs-flag, r=Mark-Simulacrumbors-0/+7
Pass `-jN` from Make to `BOOTSTRAP_ARGS` Enables the same functionality as `x -jN` in Make by passing the `-jN` arg from Make to the `BOOTSTRAP_ARGS` if it is specified.
2023-09-30Auto merge of #116160 - MaxHearnden:quote-syntax-check, r=Mark-Simulacrumbors-1/+1
quote argument to sh -n This prevents glob expansion (*.py) and field splitting
2023-09-30Auto merge of #116157 - the8472:doc-monotonoic-suspend, r=Mark-Simulacrumbors-0/+2
Document that Instant may or may not include system-suspend time Since people are still occasionally surprised by this let's make it more explicit. This doesn't add any new guarantees, only documents the status quo. Related issues: #87906 #79462
2023-09-30Auto merge of #116127 - onur-ozkan:sanity-checks-on-install, r=Mark-Simulacrumbors-0/+31
add sanity checks for user write access on `x install` Resolves #113580
2023-09-30Auto merge of #116286 - ouz-a:merge_my_commits, r=Mark-Simulacrumbors-0/+2
Add Oğuz Ağcayazı to .mailmap this will merge my commits under one name (hopefully)