about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-9/+9
2023-09-03Auto merge of #115448 - onur-ozkan:optimize-bootstrap-dep-tree, r=albertlarsan68bors-40/+8
optimize bootstrap dep tree bumped `pretty_assertations` in favor of removing duplicated `syn`, and bumped `hermit-abi` from the yanked version.
2023-09-03Merge from rustcRalf Jung-294/+408
2023-09-03Preparing for merge from rustcRalf Jung-1/+1
2023-09-03Auto merge of #115472 - RalfJung:tier-2, r=GuillaumeGomezbors-5/+7
make it more clear what 'Tier 2' (without host tools) means When saying that Rust "builds official binary releases for each tier 2 target", it's not at all clear that this does not mean we build a compiler and cargo for that target.
2023-09-03Auto merge of #115436 - GuillaumeGomez:fix-type-based-search, r=notriddlebors-135/+242
[rustdoc] Fix type based search Fixes https://github.com/rust-lang/rust/issues/114522. The problem was a bit more tricky than I originally thought it would be: we only kept type ID and generics in short, but as soon as there was a full path in the user query, the element didn't get an ID anymore because the ID map didn't know about `x::y` (although it knew about `y`). So for this first problem, I instead always pass the element name to get the ID. Then a new problem occurred: we actually needed to check if paths matched, otherwise whatever the path, as long as the "end types" match, it's all good. meaning, we needed to add path information, but to do so, we needed it to be added into the search index directly as there was no mapping between `"p"` and `"q"`. I hope this explanation makes sense to someone else than me. ^^' r? `@notriddle`
2023-09-02rustdoc: update comment in search.js for #107629Peter Jaszkowiak-8/+17
2023-09-03Stabilize the Saturating type (saturating_int_impl, gh-87920)Michael Watzko-1/+1
Also stabilizes saturating_int_assign_impl, gh-92354. And also make pub fns const where the underlying saturating_* fns became const in the meantime since the Saturating type was created.
2023-09-02Correctly handle paths from foreign itemsGuillaume Gomez-11/+46
2023-09-02Auto merge of #115471 - RalfJung:skipping-sanity, r=onur-ozkanbors-10/+13
also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is set Currently I cannot test musl targets in Miri via x.py; this PR fixes that.
2023-09-02make it more clear what 'Tier 2' (without host tools) meansRalf Jung-5/+7
2023-09-02Auto merge of #115409 - RalfJung:llvm-merge-reland, r=lqdbors-19/+28
bootstrap: use git merge-base for LLVM CI download logic This re-lands https://github.com/rust-lang/rust/pull/113588, now that the perf issues are hopefully fixed by https://github.com/rust-lang/rustc-perf/pull/1684. r? `@lqd` `@Mark-Simulacrum` Fixes https://github.com/rust-lang/rust/issues/101907
2023-09-02also skip musl checks when BOOTSTRAP_SKIP_TARGET_SANITY is setRalf Jung-10/+13
2023-09-02Auto merge of #115469 - matthiaskrgr:rollup-25ybx39, r=matthiaskrgrbors-6/+5
Rollup of 7 pull requests Successful merges: - #114349 (rustc_llvm: Link to `zlib` on dragonfly and solaris) - #114845 (Add alignment to the NPO guarantee) - #115427 (kmc-solid: Fix `is_interrupted`) - #115443 (feat(std): Stabilize 'os_str_bytes' feature) - #115444 (Create a SMIR visitor) - #115449 (Const-stabilize `is_ascii`) - #115456 (Add spastorino on vacation) r? `@ghost` `@rustbot` modify labels: rollup
2023-09-02Rollup merge of #115443 - epage:os_str, r=cuviperMatthias Krüger-6/+5
feat(std): Stabilize 'os_str_bytes' feature Closes #111544
2023-09-02Auto merge of #115286 - saethlin:detangler, r=petrochenkovbors-100/+8
Skip rendering metadata strings from include_str!/include_bytes! The const rendering code in rustdoc completely ignores consts from expansions, but the compiler was rendering all consts. So some consts (namely those from `include_bytes!`) were rendered then ignored. Most of the diff here is from moving `print_const_expr` from rustdoc into `rustc_hir_pretty` so that it can be used in rustdoc and when building rmeta files.
2023-09-02Merge from rustcRalf Jung-11/+15
2023-09-02Preparing for merge from rustcRalf Jung-1/+1
2023-09-01fix(std): Rename os_str_bytes to encoded_bytesEd Page-5/+5
2023-09-01Auto merge of #115276 - fmease:rustdoc-obj-lt-defs-handle-self-ty-params, ↵bors-8/+23
r=GuillaumeGomez rustdoc: correctly deal with self ty params when eliding default object lifetimes Fixes #115179.
2023-09-01Reuse const rendering from rustdoc in rmeta encodingBen Kimock-100/+8
2023-09-01Rollup merge of #115411 - RalfJung:miri-abi, r=oli-obkMatthias Krüger-21/+16
miri ABI check: fix handling of 1-ZST; don't accept sign differences r? `@oli-obk`
2023-09-01bump hermit-abi from yanked version(0.3.1) to 0.3.2onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-01bump pretty_assertions to 1.4onur-ozkan-37/+5
Removes the duplicated dependency(syn 1.0.102) from bootstrap dependency tree Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-01feat(std): Stabilize 'os_str_bytes' featureEd Page-1/+0
Closes #111544
2023-09-01bootstrap/format: remove unnecessary paths.pushRalf Jung-4/+0
2023-09-01rustdoc: correctly deal with self ty params when eliding default object ↵León Orell Valerian Liehr-8/+23
lifetimes
2023-09-01Merge all loops into one when generating search indexGuillaume Gomez-92/+65
2023-09-01[rustdoc] Fix path in type-based searchGuillaume Gomez-36/+139
2023-09-01[`clippy`] Use symbols intended for `arithmetic_side_effects`Caio-11/+82
2023-09-01add '--skip-children' to rustfmt invocationRalf Jung-1/+1
2023-08-31Improve `search.js` codeGuillaume Gomez-17/+13
2023-08-31miri ABI check: fix handling of 1-ZST; don't accept sign differencesRalf Jung-11/+15
2023-08-31update abi_compat.rsRalf Jung-12/+3
2023-08-31don't ignore sign for ABI checkRalf Jung-7/+1
2023-08-31update target support sectionRalf Jung-21/+16
2023-08-31bootstrap: use git merge-base for LLVM CI download logicRalf Jung-19/+28
2023-08-31more ABI compat testsRalf Jung-12/+48
2023-08-31fmtRalf Jung-1/+1
2023-08-31Merge from rustcRalf Jung-12/+117
2023-08-31Preparing for merge from rustcRalf Jung-1/+1
2023-08-31Auto merge of #115374 - RalfJung:miri-fn-abi, r=oli-obkbors-11/+116
miri function ABI check: accept repr(transparent) wrappers as compatible
2023-08-31make sure we test all tier 1 targets: i686-pc-windows-gnu was missingRalf Jung-1/+1
2023-08-31fmtThe Miri Conjob Bot-13/+12
2023-08-31Merge from rustcThe Miri Conjob Bot-9678/+16510
2023-08-31Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-08-30Fix issue with extra semicolon when import comment preceeds semicolonDavid Bar-On-1/+1
2023-08-30Fix issues with formatting imports with commentsRobert Sammelson-2/+4
2023-08-31Auto merge of #115323 - onur-ozkan:curl-download-checksum-fix, r=Mark-Simulacrumbors-12/+11
avoid stdout redirection on `curl` executions Avoid redirecting the curl output directly to the stdout. This alteration affects the integrity of the file during the retry process, as it also redirects the logs from the retries. Consequently, this leads to the bootstrap process failing because of an invalid checksum. For more information, see the [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/checksum.20errors) Fixes #115275
2023-08-30Do not ICE in rustdoc.Camille GILLOT-1/+1