Commit Graph

2417 Commits

Author SHA1 Message Date
Tshepang Mbambo 236dcb91c2
fix/improve rdg contributing howto (#2056) 2024-09-09 00:13:14 +08:00
Bilal Khan 9cbb920beb
fixed the typo (#2058) 2024-09-08 11:51:11 -04:00
jdonszelmann 1874fe2323 fix typo maker -> marker (thanks @lholten) 2024-09-08 14:01:27 +02:00
Jonathan Dönszelmann 77be3b8dcc
improve query system documentation (#2041)
* improve query system documentation

* fix typo messages => message

* Update src/queries/incremental-compilation-in-detail.md

Co-authored-by: lcnr <rust@lcnr.de>

---------

Co-authored-by: lcnr <rust@lcnr.de>
2024-09-06 16:23:23 +02:00
Jonathan Dönszelmann 75ffaf02a9
add section on overlap checks (#2042)
* add section on overlap checks

* fix some typos

* merge piece on overlap checks with docs about coherence (based on review comments)

* fix comments after discussion
2024-09-06 16:03:43 +02:00
Ralf Jung 8ced1172f7 clarify the role of rustc_const_unstable 2024-08-31 15:02:08 +02:00
Marc Poulhiès fa928a6d19 Fix x.py reference
Trivial fix to change `x.py` into `x`
2024-08-26 16:46:50 +02:00
Folkert de Vries 369a2e95a6
Update `stabilization_guide.md` (#2034) 2024-08-24 02:46:04 +08:00
León Orell Valerian Liehr 4be2f54a02
Explain the internal `#[rustc_*]` TEST attributes used for debugging and inside tests (#2046) 2024-08-24 01:58:50 +08:00
Tshepang Mbambo 918486dd2d
missing char (#2047) 2024-08-22 22:43:28 +02:00
Prashanth Mundkur cd7f60006b
Replace direct http links to rustc-dev-guide.rust-lang.org to relative links to the corresponding md source files. (#2044)
Use relative links to the corresponding md source files; this helps local browsing of generated docs.
2024-08-21 11:54:39 -07:00
flash 98926c5e61
fix typo (#2043)
line 320:
original: "valtree back a to MIR constant"
updated: "valtree back to a MIR constant"
2024-08-20 02:08:49 +08:00
Nikita Popov d194bc5607
Update LLVM docs (#2039)
* Update LLVM docs

* Apply feedback
2024-08-12 18:07:49 -03:00
GabrieleC07 43d83780db
Added 'the' in chapter "Running test" subtitle "Run unit tests on the compiler/library" (#2040) 2024-08-09 01:54:27 +08:00
Noah Lev ed3365e5b3 Disable linkcheck in PRs until bugs are fixed
See https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/77
and https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/86.

These bugs are causing linkcheck to erroneously fail because we run it
using `-f`, to avoid too many requests. For now, disable linkcheck in PR
CI, though leave it enabled in the cron job, where the bug should not
occur.
2024-08-07 20:32:37 -07:00
xFrednet 9c47f8c741 Review comments <3 2024-08-07 20:32:37 -07:00
xFrednet 3fbb21e75c Correct rust code block in *Dataflow Analysis* 2024-08-07 20:32:37 -07:00
Martin Liška f15edb8f15
linkcheck: fix filtering of the source files (#2019) 2024-08-03 13:42:26 -03:00
riyueguang 8f92da7a48 chore: fix some comments
Signed-off-by: riyueguang <rustruby@outlook.com>
2024-07-30 08:04:13 +02:00
Martin Liška 4765bd775d
linkcheck: fix reported broken links (part 2) (#2024)
* linkcheck: fix reported broken links (part 2)

* Apply suggestions from code review

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

* Fix mir::Constant link target

* Fix borked links

* Fix one more link name

* Exclude 2 links from checking

* Fix exclude patterns in book.toml

* Fix comment

* Fix rmake-tests URL

* Apply suggestions from code review

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>

---------

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-07-27 14:45:57 +02:00
Tshepang Mbambo fdb610d33a
typo (#2029) 2024-07-26 15:31:20 -07:00
Stuart Cook fa411dcd4b
Fix broken links in `llvm-coverage-instrumentation.md` (#2027) 2024-07-26 21:19:51 +08:00
Jakub Beránek e5cb04cd24
Fix invalid link to toolstate documentation (#2021) 2024-07-24 20:02:10 +08:00
Martin Liška f49f30d427
linkcheck: fix reported broken links (part 1) (#2022) 2024-07-24 20:01:25 +08:00
lcnr 9e353070a0 fix link 2024-07-24 13:08:53 +02:00
Martin Liska 55477c16ed MIR docs: fix borked links and update style
Changes applied:
- updating-llvm.md: make consistent style in a listing
- CleanupNonCodegenStatements - renamed to CleanupPostBorrowck
- SimplifyCfg - fix link target (it is an enum now)
- LocalUseVisitor - replaced with another existing Visitor
- PGO in LLVM - embed link
2024-07-24 05:03:16 +02:00
10takla 0a92516459
Update adding.md (#2016)
Add `@' to the test header edition:2018
2024-07-19 15:15:12 +08:00
Jaic1 0c4d55cb59 refine mir passes doc 2024-07-15 17:16:43 +02:00
Jaic1 8ec48c0170 Typo in src/mir/passes.md
accidently -> accidentally

Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-07-15 17:16:43 +02:00
chj 6bbd1c4a0c Improve doc of MIR queries & passes 2024-07-15 17:16:43 +02:00
Noah Lev db1c4ca3f1 Bump all other deps 2024-07-09 08:20:59 +02:00
Noah Lev 2165940603 Fix chrono deprecations 2024-07-09 08:20:59 +02:00
Noah Lev 09258ac710 Bump chrono
The specific reason I decided to update is since newer versions of
chrono don't depend on time 0.1, which has some soundness issues.
Of course, staying up-to-date in general is a good idea.
2024-07-09 08:20:59 +02:00
Noah Lev 6571079eb5
Fix typo: lists -> lints (#2011)
It's a bit of a tongue-twister it seems.
2024-07-08 21:28:55 +00:00
onur-ozkan 5837d21fed use "bootstrap" instead of "rustbuild"
Let's stick with the single name "bootstrap" to refer to the bootstrap project to avoid confusion.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-06 23:28:20 +02:00
Arjun Patel 108ce63095
Fix grammar issue in optimize-build.md (#2009) 2024-07-02 11:05:55 +08:00
Tyler Mandry cb5b44424c
Update name of Fuchsia builder (#2008) 2024-07-01 21:05:14 +02:00
Urgau d6e3a32a55 Update new target check-cfg instructions 2024-07-01 12:51:26 +02:00
Jakub Beránek 98c5f27cf7 Add link to integration tests list 2024-07-01 00:31:56 +02:00
Jakub Beránek 7ecba2621c Add Rust for Linux integration tests documentation 2024-07-01 00:31:56 +02:00
Tyler Mandry 0bd5b6af26
Add docs for building Fuchsia locally and in CI (#1989) 2024-06-28 23:12:08 +02:00
DianQK f303e09e88 provide `libstdc++.so.6` through `LD_LIBRARY_PATH` 2024-06-27 16:15:59 +02:00
许杰友 Jieyou Xu (Joe) c4f9678427
tests: document how to run `run-make` on Windows (#2002) 2024-06-24 05:21:15 +00:00
许杰友 Jieyou Xu (Joe) 22fbccf329
tests/headers: document `needs-symlink` (#2001)
Added in <https://github.com/rust-lang/rust/pull/126862>.
2024-06-24 04:31:35 +00:00
Yosh a251320dc6 Rename `wasm32-wasi` to `wasm32-wasip1` 2024-06-23 20:21:42 +02:00
Aaron Hill 88cc55334f
Document inert vs active attributes (#1110)
* Document inert vs active attributes

This PR adds a subsection to the 'Syntax and AST' section describing
inert vs active attributes.

For consistency, I've also updated the '#[test] implementation' page to
stop referring to `#[test]' as a 'built in' attribute, since that has a
specific meaning defined on this page.

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: Noah Lev <camelidcamel@gmail.com>

* Update src/attributes.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/test-implementation.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/attributes.md

Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>

* Update src/test-implementation.md

* Update src/test-implementation.md

* Update src/test-implementation.md

---------

Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2024-06-23 16:09:09 +02:00
许杰友 Jieyou Xu (Joe) 6875c49261 docs: document hard-resetting submodules 2024-06-19 20:14:28 +02:00
León Orell Valerian Liehr 5ec72a2498
Fix note about compiletest header `rustfix-only-machine-applicable` (#1998) 2024-06-18 23:50:10 +01:00
许杰友 Jieyou Xu (Joe) e7998be731 docs: mention RUSTC_ICE=0 to suppress ICE file 2024-06-18 19:24:17 +01:00
onur-ozkan aec82168dd tell about `STAGE0_MISSING_TARGETS` for new targets
We just realized that the bootstrap target sanity check isn't documented anywhere,
and it would be quite exhausting to learn this manually through a series of failing CI builds.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-16 08:39:57 +02:00