Commit graph

2307 commits

Author SHA1 Message Date
Seo Sanghyeon
d1aba949db Reflect rustc_codegen_cranelift move 2024-03-18 20:37:35 +02:00
Tbkhi
e46e56790f Update rustdoc-internals.md (#1911)
* Update rustdoc-internals.md

Minor updates to syntax and some clarifications.

* updates

* Update rustdoc-internals.md
2024-03-13 18:56:14 -03:00
Tbkhi
3910cd91c7 Update test-implementation.md (#1937)
* Update test-implementation.md

* Update test-implementation.md
2024-03-13 18:23:20 -03:00
许杰友 Jieyou Xu (Joe)
e1eee01c95 Extract Bootstrap into its own section (#1939)
* Extract Bootstrap into its own section

Add brief explanation for `Step` and `Builder::ensure` as core
Bootstrap internal concepts.

* Drop common commands page (use `x --help` instead)

* Add `make` as an alternative entry point

* Add src/bootstrap/README.md link
2024-03-13 18:18:29 -03:00
Tshepang Mbambo
381dd6d724 typos
Also
- use proper case for rust-analyzer
- reformat a bit, for sembr
2024-03-13 04:28:30 +01:00
Nicholas Nethercote
cf09d77147 More updates for recent diagnostics changes.
A sequel to #1883, this covers diagnostic naming changes from
rust-lang/rust/pull/121489, rust-lang/rust/pull/121780, and
rust-lang/rust/pull/122132.
2024-03-12 02:12:31 +01:00
Tbkhi
d288233524 Update bibliography.md (#1912)
Minor additions and resorting.
2024-03-11 15:17:28 -03:00
Tbkhi
b412f7dbae update rustc-driver-interacting-with-the-ast.md (#1930)
* adding links

* Update src/rustc-driver-interacting-with-the-ast.md

Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>

* redo links and formatting

* Update rustc-driver-interacting-with-the-ast.md

---------

Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-03-11 12:37:18 +02:00
Tbkhi
210449321c Update rustc-driver-getting-diagnostics.md 2024-03-11 03:11:55 +02:00
许杰友 Jieyou Xu (Joe)
daf2f3c274 Document that test names cannot contain dots (#1927) 2024-03-08 17:44:41 -03:00
Tbkhi
d34c4d16c0 Update overview.md (#1898)
* Update overview.md

Various link addition and minor edits for clarity.

* generic improvements

* fix line lengths for ci/cd

---------

Co-authored-by: Tbkhi <me.stole546@silomails.com>
Co-authored-by: Oliver Dechant <ol922807@dal.ca>
2024-03-04 17:00:53 -03:00
lcnr
5cd405f123 and again 2024-03-04 16:35:43 +00:00
lcnr
614211bd30 unfk links 2024-03-04 16:32:44 +00:00
lcnr
66b0396dea next-solver: document caching (#1923) 2024-03-04 17:26:06 +01:00
Stuart Cook
ca414c9e92 Add compiletest docs for FileCheck prefixes and //@ filecheck-flags: (#1914)
This patch also adds docs for `//@ llvm-cov-flags:`, and notes that coverage
tests support revisions (though none of the current tests actually do so).
2024-03-01 23:30:17 +01:00
Arthur Milchior
8b431b3325 Use different type in an example (#1908)
* Use different type in an example

Sentences such as «without the argument u32» were ambiguous, as there were two distincts u32. Having a single one, the one in the monomorphization of the type, remove the ambiguity.

* Update src/ty.md

---------

Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01 23:26:16 +01:00
许杰友 Jieyou Xu (Joe)
50102a5ba1 Update run-make test description (#1920) 2024-03-01 23:22:50 +01:00
Christopher Smyth
f48865c0c7 Add some more details on feature gating (#1891)
* Add some more details on feature gating

* Apply suggestions from code review

---------

Co-authored-by: Ross Smyth <rsmyth@electrocraft.com>
Co-authored-by: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com>
2024-03-01 23:20:06 +01:00
Nilstrieb
37d723bd15 make shell.nix better (#1858)
* make shell.nix better

* Mention using RUST_BOOTSTRAP_CONFIG

* Move things to `buildInputs` and add `glibc.out glibc.static`

This fixes the nofile-limit.rs UI test.

* short lines for the short line fans

* Fix pkgs
2024-03-01 21:26:19 +01:00
lcnr
bac165df82 opaque types in new solver (#1918)
* add opaque types doc

* summary
2024-03-01 13:11:55 +01:00
lcnr
9f1c9d9aee add implied bounds doc (#1915)
* add implied bounds doc

* lazy type aliases also have explicit implied bounds
2024-02-29 10:46:28 +01:00
许杰友 Jieyou Xu (Joe)
80770e2b2e Update compiletest directives to be in ui_test style //@ 2024-02-22 20:15:52 +01:00
Yukang
879e33dba6 Add notes on tweak rust-analyzer.check.overrideCommand (#1890) 2024-02-21 12:18:39 -03:00
Yuki Okushi
b4efe58459 Fix more links (#1884) 2024-02-21 12:17:28 -03:00
Matthew Woodcraft
a1531664a2 Remove reference to -Z ast-json and -Z ast-json-noexpand
These were removed in 2021.
https://github.com/rust-lang/rust/pull/85993
2024-02-17 20:47:05 +01:00
许杰友 Jieyou Xu (Joe)
61f8089154 Specify ui test suite directives and add note on ignore-tidy directives 2024-02-16 18:26:58 -05:00
Michael Goulet
904a6bff5c Update src/tests/ui.md
Co-authored-by: Tshepang Mbambo <tshepang@gmail.com>
2024-02-16 18:13:52 -05:00
Oli Scherer
a0e7ee19a8 Update docs about ui tests now using //@ headers 2024-02-16 18:13:52 -05:00
Jakub Beránek
9bf19282df Make git rebase commands more bulletproof (#1889) 2024-02-14 19:00:15 -03:00
Tshepang Mbambo
19b9b6eab9 updating-llvm.md: command does not work (#1887) 2024-02-13 22:39:15 +09:00
Gnana Ganesh
dca74b19cf fix update llvm build command 2024-02-13 14:13:06 +02:00
Tshepang Mbambo
51d72f3e35 separate link target from normal content 2024-02-11 06:36:15 +01:00
Tshepang Mbambo
337068ba20 fix sentence 2024-02-11 06:36:15 +01:00
Nicholas Nethercote
a33b68e7db Some updates for recent diagnostics changes. 2024-02-10 04:48:19 +02:00
Gurinder Singh
7770aaaeb7 Rename occurrences of 'delay_span_bug' to 'span_delayed_bug'
since this method has been renamed in rustc.

Also remove a link to  documentation in error-guaranteed.md because it was unused
2024-02-08 20:16:06 +02:00
Eric Huss
3dac07cc86 Update for upcoming markdown changes. (#1880) 2024-02-07 10:23:35 -03:00
syvb
1734d43374 Update uses of renamed BoxMeUp to PanicPayload 2024-01-30 09:56:43 +00:00
Arthur Milchior
d4d5679028 Add links for arena and interning. (#1868)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-30 04:55:16 +09:00
Arthur Milchior
40dd7f2595 Improving macro expansion section (#1875) 2024-01-30 04:53:39 +09:00
Arthur Milchior
d48aaf8bf4 Replace letters by foo, bar and buz in lexing example (#1870) 2024-01-30 04:53:07 +09:00
David Semakula
4c8f9d37a0 Fix some broken links (#1877) 2024-01-30 04:49:51 +09:00
Yuki Okushi
e5b0c818bc Upgrade actions to use Node.js v20 (#1863) 2024-01-28 19:45:18 -03:00
Yuki Okushi
85d251853e Fix some links (#1865) 2024-01-28 19:44:41 -03:00
Arthur Milchior
fd61b1e6b5 Add link in salsa (#1866)
* Add link in salsa

* Update src/salsa.md

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

* Update src/salsa.md

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

---------

Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
2024-01-28 19:42:26 -03:00
Arthur Milchior
053b36f6b4 Clarify what rt.rs is. (#1876)
Most files names are relatively explicit and probably don't need to be
explicited.  However `rt.rs` is really not clear, and I believe it clarifies the
text to indicate this is runtime service implementation.
2024-01-28 19:40:36 -03:00
the8472
baeccfbd82 update link to rustc dependencies (#1869) 2024-01-28 12:42:18 +01:00
Arthur Milchior
02847e40a1 Followup to #1862 (#1864) 2024-01-28 06:12:41 +09:00
Arthur Milchior
9d0ed10bbd Clarify debugging graph dependency (#1862) 2024-01-28 05:42:06 +09:00
Shoyu Vanilla
351c9f37e1 Get diagnostics directly in rustc-driver-getting-diagnostics example (#1857) 2024-01-22 04:41:55 +09:00
Shoyu Vanilla
20a0cb4762 Update examples (#1856)
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
2024-01-21 22:26:41 +09:00