Noah Lev
610e80b95c
Merge pull request #2030 from marxin/ci-cache
...
Save linkcheck cache always
2025-01-09 13:19:21 -08:00
bors
019834560d
Auto merge of #135286 - matthiaskrgr:rollup-sxuq1nh, r=matthiaskrgr
...
Rollup of 3 pull requests
Successful merges:
- #134898 (Make it easier to run CI jobs locally)
- #135195 (Make `lit_to_mir_constant` and `lit_to_const` infallible)
- #135261 (Account for identity substituted items in symbol mangling)
r? `@ghost`
`@rustbot` modify labels: rollup
2025-01-09 16:18:57 +00:00
Matthias Krüger
68fc700f35
Rollup merge of #135261 - compiler-errors:coverage-has-identity-substs, r=oli-obk
...
Account for identity substituted items in symbol mangling
See the inline comment.
r? oli-obk
Fixes #135235
2025-01-09 14:34:47 +01:00
Matthias Krüger
d35f2db39a
Rollup merge of #135195 - oli-obk:push-toyoyrupruko, r=lcnr
...
Make `lit_to_mir_constant` and `lit_to_const` infallible
My motivation for this change is just that it's annoying to check everywhere, especially since all but one call site was just ICEing on errors anyway right there.
They can still fail, but now just return an error constant instead of having the caller handle the error.
fixes #114317
fixes #126182
2025-01-09 14:34:41 +01:00
Matthias Krüger
68734d1df8
Rollup merge of #134898 - Kobzol:ci-python-script, r=MarcoIeni
...
Make it easier to run CI jobs locally
This PR extends the Python CI script to perform a poor man's CI-like execution of a given CI job locally. It's not perfect, but it's better than nothing.
r? `@jieyouxu`
2025-01-09 14:34:35 +01:00
Jakub Beránek
482ebfbbae
Error if there is nothing to pull
2025-01-08 17:52:01 +01:00
Jakub Beránek
c92957d38a
Print an explicit message if the base repo head commit is up-to-date
2025-01-08 17:52:01 +01:00
Martin Liska
10c76e1bfc
Update key
2025-01-08 17:07:08 +01:00
Martin Liska
57d1e6b068
Save linkcheck cache always
2025-01-08 17:05:11 +01:00
Jakub Beránek
7d59cb33f6
Merge pull request #2200 from Kobzol/rustc-pull
...
Rustc pull
2025-01-08 13:47:34 +01:00
Jakub Beránek
a04d719b49
Merge from rustc
2025-01-08 13:40:53 +01:00
Jakub Beránek
55ac466fd7
Preparing for merge from rustc
2025-01-08 13:40:40 +01:00
Ralf Jung
4498820468
Merge pull request #4127 from rust-lang/rustup-2025-01-08
...
Automatic Rustup
2025-01-08 08:52:24 +00:00
Ralf Jung
1760a3d8a4
Merge from rustc
2025-01-08 09:23:40 +01:00
Samson
8789c2cf9b
Fix rib example
...
related zulip thread: https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/Ribs.20in.20name.20resolution
2025-01-07 21:29:45 +01:00
Jakub Beránek
280d73878a
Update rustc-dev-guide
2025-01-07 19:10:03 +01:00
Max Heller
0fd52366ca
Fix broken raw HTML ( #2198 )
2025-01-07 16:00:59 +08:00
许杰友 Jieyou Xu (Joe)
32835d18d8
Only keep label description in Forge docs
2025-01-06 18:59:36 +02:00
bors
1e3e23878b
Auto merge of #135112 - tgross35:combine-select-unpredictable-test, r=the8472
...
Merge the intrinsic and user tests for `select_unpredictable`
[1] mentions that having a single test with `-Zmerge-functions=disabled` is preferable to having two separate tests. Apply that to the new `select_unpredictable` test here.
[1]: https://github.com/rust-lang/rust/pull/133964#issuecomment-2569693325
2025-01-06 10:52:07 +00:00
Jakub Beránek
1dad69ebd4
Add rustc-dev-guide to the list of repositories managed by josh ( #2197 )
2025-01-06 18:30:59 +08:00
bors
c1e98fc7e5
Auto merge of #135085 - knickish:m68k_unknown_none, r=workingjubilee
...
add m68k-unknown-none-elf target
r? `@workingjubilee`
The existing `m68k-unknown-linux-gnu` target builds `std` by default, requires atomics, and has a base cpu with an fpu. A smaller/more embedded target is desirable both to have a baseline target for the ISA, as well to make debugging easier for working on the llvm backend. Currently this target is using the `M68010` as the minimum CPU due, but as missing features are merged into the `M68k` llvm backend I am hoping to lower this further.
I have been able to build very small crates using a toolchain built against this target (together with a later version of `object`) using the configuration described in the target platform-support documentation, although getting anything of substantial complexity to build quickly hits errors in the llvm backend
2025-01-06 05:23:55 +00:00
bors
86428b4a82
Auto merge of #135127 - Kobzol:rustc-dev-guide-sync, r=BoxyUwU
...
rustc-dev-guide subtree update
This PR performs the first update of rustc-dev-guide code from its repository.
r? `@BoxyUwU`
2025-01-05 19:35:30 +00:00
Boxy
42160c343a
add josh-sync build dir to gitignore ( #2196 )
2025-01-06 02:57:03 +08:00
Jakub Beránek
a74bcb71f1
Preparing for merge from rustc
2025-01-05 18:15:01 +01:00
Jakub Beránek
4bbbd5802d
Preparing for merge from rustc
2025-01-05 18:12:52 +01:00
Boxy
885fd79971
Split stuff out of representing types, and rewrite early/late bound chapter ( #2192 )
2025-01-05 17:51:45 +01:00
Stuart Cook
bb71c99918
Describe how to use rust-analyzer with `rmake.rs` ( #2191 )
2025-01-05 17:51:45 +01:00
Tshepang Mbambo
027bbb345c
fix comment
2025-01-05 17:51:45 +01:00
Tshepang Mbambo
b3b1d09278
make paragraph more readable
2025-01-05 17:51:45 +01:00
Tshepang Mbambo
7dbf25b2f8
repetition not needed
2025-01-05 17:51:45 +01:00
Jakub Beránek
eb70681870
Document josh subtrees and update subtree repository list ( #2182 )
2025-01-05 17:51:45 +01:00
Jakub Beránek
4a73ebae45
Add tooling for performing Josh synces ( #2183 )
2025-01-05 17:51:45 +01:00
Onur Özkan
63548be44e
comment out FIXMEs to not display them on UI ( #2186 )
2025-01-05 17:51:45 +01:00
Max Heller
08b4cd8efc
Use `id` attribute for `<a>` tags instead of deprecated `name` attribute ( #2184 )
2024-12-31 22:02:50 +08:00
Noah Lev
d85deb6064
Opt into, rather than out of, linkcheck ( #2180 )
...
This makes it less of a hassle to render the book locally.
2024-12-30 17:22:22 +08:00
Stuart Cook
6637742182
Remove stale implementation details of coverage instrumentation ( #2179 )
...
This level of detail in the dev guide is a maintenance burden; better to leave
this sort of thing to in-tree comments.
2024-12-30 12:02:52 +11:00
Martin Liška
c609846601
Remove properly tracked config file from .gitignore & add support for skipping of link-checking ( #2023 )
...
* Remove properly tracked config file from .gitignore
The file is part of the git history and is a configuration file.
Fixes : #2018
* Add env. variable support
* Refactoring
* Really skip linkcheck if requested
2024-12-29 13:23:49 -08:00
Martin Liška
de8511be8c
Add a couple of linkcheck exceptions: ( #2120 )
...
* Add a couple of linkcheck exceptions:
Addresses:
```
Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive+is%3Aclosed
Server returned 401 Unauthorized for https://objects.githubusercontent.com/github-production-release-asset-2e65be/343907537/60cd5880-7b81-11eb-9502-68d5f473ebe2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241103%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241103T085906Z&X-Amz-Expires=300&X-Amz-Signature=e532fd7d2bd271f12988982bc8e5a47a0f966b40452b55d444bbb74292ac1fb1&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustc.generic.wpaProfile&response-content-type=application%2Foctet-stream
Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive
```
* Skip only github.com/rust-lang/rust/pulls?q=
2024-12-29 12:58:21 -08:00
Martin Liška
ddff18e30a
Add missing link for [Node] ( #2177 )
2024-12-30 04:34:34 +08:00
Martin Liška
ecad0213d7
Fix 403 received for HEAD request ( #2176 )
2024-12-30 04:33:45 +08:00
Martin Liška
0d9aca4ccd
Start using mdbook-linkcheck2 ( #2103 )
2024-12-28 15:00:32 -08:00
clubby789
5f32a38a3d
Document `x test --no-capture` ( #2174 )
2024-12-28 19:55:20 +08:00
Stuart Cook
9b22375c78
Remove the `-test` suffix from normalize directives ( #2172 )
2024-12-28 17:32:43 +08:00
bjorn3
e70f551db6
Rework the driver docs ( #2162 )
2024-12-27 20:40:32 +08:00
clubby789
4e746875ed
Document `forbid-output` for UI tests ( #2171 )
2024-12-27 12:21:52 +00:00
clubby789
b746f63983
completions: Zsh is now supported ( #2173 )
2024-12-27 09:03:10 +08:00
lcnr
6af30f87b7
region-outlives propagation ( #2169 )
...
* region-outlives propagation
* woops
* gamer
2024-12-23 10:17:51 +01:00
clubby789
a49028cf1e
Document the `--debugger` flag ( #2170 )
2024-12-23 08:43:28 +00:00
Marco Ieni
b5529ca9ba
document the public ci dashboard ( #2167 )
2024-12-18 19:53:17 +08:00
Chris Bloodsworth
6afff2e610
Fix trivial typo of "query-fied"
...
"Query-field" should be "Query-fied" - three instances.
2024-12-18 08:01:33 +02:00