ozkanonur
375adf22dc
extend bootstrap related documentations
...
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-31 12:42:30 -06:00
Albert Larsan
d4ec98736e
Change `src/test` to `tests` ( #1547 )
2023-01-13 07:31:47 +09:00
Joshua Nelson
bd26e3aae5
Replace `$TARGET` with `host`
...
This avoids having to manually modify the configuration in the docs.
2022-12-31 18:23:52 -06:00
Yuki Okushi
48d78e345c
fix: Fix broken links
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-12-09 03:13:38 +02:00
Rageking8
1d067b8308
add note for err annotation formatting
2022-10-27 20:45:40 +02:00
Tshepang Mbambo
83163df624
typo and grammar ( #1484 )
2022-10-19 07:45:49 +09:00
Pietro Albini
397a8f2cf7
Update running tests with the new flags ( #1476 )
2022-10-05 17:04:49 +09:00
Eric Huss
4123cb2cd9
Update for removal of RLS ( #1450 )
2022-09-02 23:03:15 +09:00
Tshepang Mbambo
8194045511
make date-check more lightweight ( #1394 )
...
* make date-check lightweight
This avoids having to write the date twice when updating date-check.
Before "As of <-- 2022-07 --> July 2022"
After "As of July 2022"
* please clippy
* update date-check docs
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042163557
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#pullrequestreview-1042167261
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#issuecomment-1189105017
* this breaks markdown
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018268
This led to a more robust regex, though making the tool more picky.
It also found a wrong date format that was missed.
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018419
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816
* accept review suggestion
This was reverted by mistake
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934019395
* use a more simple fn
* address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018981
Much more clean
* nit
* accept review suggestion
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
* avoid a failed regex
Also, test new shape
* adjust to new regex (which uses named groups)
New regex was introduced by 456008cc35
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-08-02 13:50:32 -07:00
Luqman Aden
afb2eb604d
Debuginfo tests now also support revisions.
2022-07-21 04:48:49 +02:00
Joshua Nelson
d7ead280b4
Update the build instructions for the standard library
...
Since https://github.com/rust-lang/rust/pull/95503 , `library/std` means
"build just std and its dependencies"; to get the old behavior that built
`proc_macro` and `test`, you need `x build library`.
- Update `library/std` to `library`
- Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
compiler / standard library.
- Remove a few repetitive sections and don't discuss incremental in such detail
Incremental works well enough that it should "just work" for most people;
I don't think it needs multiple paragraphs of explanation so early in the guide.
- Clarify that `test library/std` *only* tests libstd in a few places
2022-07-11 07:22:24 +02:00
Edwin Rybarczyk
de46205199
later -> latter
2022-06-13 00:17:41 +02:00
Eric Huss
b005279610
Remove mention of -Zborrowck=mir with Polonius. ( #1367 )
2022-06-08 19:30:43 -03:00
Eric Huss
95d5ac8462
Remove nll compare mode. ( #1366 )
2022-06-08 14:21:15 -03:00
Yuki Okushi
6ec2a84d4d
Update some links and docs ( #1340 )
2022-05-17 07:54:45 +09:00
Guillaume Gomez
3782d52fab
Add missing rustdoc tests explanations
2022-03-09 12:45:59 -08:00
Eric Huss
07d132e805
Add known-bug header. ( #1311 )
2022-02-24 22:40:58 -06:00
Yuki Okushi
3e67d8ee9a
Triage some date references ( #1293 )
2022-02-10 17:34:23 -03:00
Eric Huss
121b57d498
Reorganize and expand the testing chapters. ( #1281 )
...
* Reorganize and expand the testing chapters.
* Update tests chapters for review comments.
* Fix typo.
2022-01-18 14:44:26 -03:00
Georgiy Komarov
e3da6331dd
Spelling: Rename `rust` to `Rust` ( #1288 )
2022-01-18 11:09:37 -03:00
Nicholas Nethercote
940fbb5f7a
Address review comments in #1286 .
2022-01-05 23:26:43 -06:00
Nicholas Nethercote
e3512c8cd8
Streamline "Getting Started" some more.
...
This is a follow-up to #1279 .
The "Getting Started" chapter is, TBH, pretty bad when it comes to the
stuff about building and testing. It has far too much detail and lots of
repetition, which would be overwhelming to a newcomer.
This commit removes most of it, leaving behind just quick mentions of
the most common `x.py` commands: `check`, `build`, `test`, `fmt`, with
links to the appropriate chapters for details. There were a few
interesting details that weren't covered elsewhere, so I moved those
into other chapters.
2022-01-05 23:26:43 -06:00
Wang Qilin
1349a379b8
remove rustfix item in test intro ( #1277 )
2021-12-20 21:53:57 +09:00
Lucas Kent
9074afb8da
Improve 'Running tests manually' section
2021-11-27 03:45:39 -05:00
Eric Huss
499f9b9fc9
Update for review comments.
2021-11-24 10:22:37 -05:00
Eric Huss
4aff2ba309
Document rustfix-only-machine-applicable
2021-11-24 10:22:37 -05:00
Eric Huss
9bde256126
Apply suggestions from pierwill
...
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
2021-11-24 10:22:37 -05:00
Eric Huss
c042df7cae
Document more compiletest headers.
2021-11-24 10:22:37 -05:00
Ken Matsui
e1babf580d
Unify `x.py` usage ( #1258 )
2021-11-16 07:44:50 +09:00
Lucas Kent
363f6ce09c
Spelling fixes
2021-11-15 08:23:01 -06:00
Lucas Kent
7b93c858f0
Fix compare-mode documentation
2021-11-14 17:01:35 -06:00
Eric Huss
b4570015e5
Remove some legacy test suites.
2021-11-04 14:18:39 -05:00
Noah Lev
b1f655d972
Update some date-check comments
...
I removed one of them because it doesn't seem necessary.
2021-11-04 09:33:03 -07:00
Tomasz Miąsko
84e40d7cbb
Mention needs-sanitizer-hwaddress directive
2021-10-08 15:49:53 -05:00
Frank Steffahn
d789b1c701
Trailing date comments in a line inside of a paragraph caused beginning of a new paragraph. ( #1196 )
...
This PR fixes the 2 occurrences of that.
(I'm not sure if there's an underlying issue with mdbook or if this is working as intended.)
2021-08-28 08:26:16 -03:00
Yuki Okushi
1373d5beed
Document how to run unit tests ( #1141 )
2021-06-17 17:25:28 -03:00
Joshua Nelson
fd97123fbc
Add back example of {{cwd}} ( #1099 )
...
I force-pushed this in the last commit and accidentally deleted the
github suggestion.
2021-04-01 04:04:46 +09:00
Joshua Nelson
ec260c8f5c
Document test input normalization
2021-03-31 14:51:19 -04:00
Camelid
9539f6c271
Fix formatting of more date references ( #1067 )
2021-02-22 18:22:23 +09:00
Camelid
7f5a39d318
Update docs from date triage for 2021-02 ( #1048 )
...
The biggest change was updating the list of rustdoc passes. Several new
ones have been added since that documentation was written, so I added
those, and I also sorted the list so it is roughly alphabetical (except
for the part for the `strip-*` passes, which I left in the same order
since one of the list items has two passes so there's no "correct"
order).
2021-02-20 19:27:24 -08:00
bstrie
87b317f966
Update running.md
2021-02-17 17:13:07 -05:00
Camelid
6e02970f7f
Add lots of date-check annotations
...
Also added dates for things that previously said "as of now" or "as of
this writing" and cleaned up a couple of things along the way.
2021-02-03 19:29:07 -05:00
Eric Huss
f6e4a5f851
Update test suite descriptions. ( #1042 )
2021-01-30 20:12:01 +09:00
Iñaki Garay
7a80b01e01
Add mdbook-toc, markers, and documentation ( #1028 )
...
* Add mdbook-toc to travis, book.toml and documentation
* Add toc markers
* Whitespace cleanup and some punctuation
* Addressed comments
2021-01-20 14:33:11 -03:00
Yuki Okushi
261ec50fa9
Add a note about UI test entry limitation ( #1019 )
2021-01-12 07:55:13 +09:00
Iñaki Garay
cd437dc04f
Add context to dated information ( #1013 )
...
* Fixes #924 Add context to dated information
* Fixes #924 Addressed comments and some uses of 'currently'
* Update src/contributing.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
* Update src/salsa.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
* Fixes #924 Addressed comments
* Fixes #924 Fixed line lengths.
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2021-01-10 19:23:22 -03:00
Sebastian Widua
1b4d37b32b
Fix some typos
2021-01-04 10:02:33 -05:00
Iñaki Garay
7268945c0f
rustc invocation standarized ( #992 )
...
* rustc invocation standarized
* Addressed comments
* Addressed comments
* Addressed comments
* Updated command output
2020-12-28 23:34:51 +01:00
Yuki Okushi
cb0b7b64ee
Document `error-pattern` header ( #989 )
...
* Document `error-pattern` header
* Address some reviews
2020-12-12 16:06:30 +01:00
Ben Striegel
5661848ab9
Address feedback
2020-11-30 18:06:43 -05:00