about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-12-29bootstrap: Don't apply `-Ztls-model=initial-exec` to deps of proc-macrosclubby789-1/+4
2024-12-29Add tidy check for list of proc-macro crate transitive dependenciesclubby789-4/+146
2024-12-29Remove properly tracked config file from .gitignore & add support for ↵Martin Liška-9/+18
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-29Add a couple of linkcheck exceptions: (#2120)Martin Liška-1/+7
* 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-30Add missing link for [Node] (#2177)Martin Liška-0/+1
2024-12-30Fix 403 received for HEAD request (#2176)Martin Liška-1/+1
2024-12-29Rollup merge of #134894 - Kobzol:docker-ci-documentation, r=the8472Matthias Krüger-0/+6
Document how to run the split Docker pipelines r? `@the8472`
2024-12-29Rollup merge of #134884 - calciumbe:patch1, r=jieyouxuMatthias Krüger-1/+1
Fix typos Hello, I fix some typos in docs and comments. Thank you very much.
2024-12-29Auto merge of #134765 - Noratrieb:linux-none-cant-unwind-silly, r=jieyouxubors-0/+5
Improve default target options for x86_64-unknown-linux-none Without a standard library, we cannot unwind, so it should be panic=abort by default. Additionally, it does not have std because while it is Linux, it cannot use libc, which std uses today for Linux. Using PIE by default may be surprising to users, as shown in #134763, so I've documented it explicitly. I'm not sure if we want to count that as fixing the issue or not. cc `@morr0ne,` as you added the target (and are the maintainer), and `@Noratrieb,` who reviewed that PR (:D).
2024-12-29Document x86_64-unknown-linux-none is PIE by defaultNoratrieb-0/+5
2024-12-29Document how to run the split Docker pipelinesJakub Beránek-0/+6
2024-12-29Auto merge of #134891 - dxsullivan:fix-typo, r=GuillaumeGomezbors-4/+4
docs: fix typos Fix typos in docs. Thank you.
2024-12-29fix: Fix invalid `-O` flag used by cfg discoveryLukas Wirth-2/+23
2024-12-29docs: fix typosdxsullivan-4/+4
2024-12-29fix: typoscalciumbe-1/+1
Signed-off-by: calciumbe <192480234+calciumbe@users.noreply.github.com>
2024-12-29Merge pull request #18785 from Veykril/push-uvsqposqyvmoLukas Wirth-436/+438
Cleanup toolchain info fetching
2024-12-29Merge pull request #18787 from Veykril/push-uymlpukspxqrLukas Wirth-1/+5
Automatically cancel CI checks on new push to same PR
2024-12-29Auto merge of #134887 - Zalathar:rollup-ghpz7oy, r=Zalatharbors-118/+137
Rollup of 5 pull requests Successful merges: - #134799 (nits: Cleanups in `librustdoc::clean`) - #134851 (docs: inline `alloc::ffi::c_str` types to `alloc::ffi`) - #134869 (Bump compiler cc) - #134876 (bootstrap: Consolidate the macros for declaring compiletest test suites) - #134883 (bootstrap: Fix `./x check bootstrap` by moving `shared_helpers::tests`) r? `@ghost` `@rustbot` modify labels: rollup
2024-12-29Inline toolchain_info moduleLukas Wirth-17/+19
2024-12-29Automatically cancel CI checks on new push to same PRLukas Wirth-1/+5
2024-12-29Merge pull request #18774 from Veykril/push-ysppqxpuknnwLukas Wirth-129/+1335
Implement parameter variance inference
2024-12-29Force a current dir to be supplied for rustc info fetchingLukas Wirth-25/+37
2024-12-29Split out `ProjectWorkspace::load_cargo`Lukas Wirth-142/+139
2024-12-29Enforce a current directory being set for spawned commandsLukas Wirth-75/+99
2024-12-29Rollup merge of #134883 - Zalathar:shared-helpers, r=clubby789Stuart Cook-3/+14
bootstrap: Fix `./x check bootstrap` by moving `shared_helpers::tests` Running `./x check bootstrap` currently doesn't work, because it builds the bootstrap shim binaries with `cfg(test)`, and those binaries can't find a `tests` submodule when they include `shared_helpers.rs` via `#[path]`. This PR fixes that by taking the tests module and moving it to `super::tests::shared_helpers_tests` instead. (The extra `tests` submodule prevents tidy from complaining about unit tests that aren't in a dedicated tests module.) --- It would be nice to also run `./x check bootstrap compiletest` in CI, so that this and #134848 don't regress, but I didn't want to bundle that change with this fix.
2024-12-29Rollup merge of #134876 - Zalathar:bootstrap-test-macros, r=jieyouxuStuart Cook-103/+113
bootstrap: Consolidate the macros for declaring compiletest test suites Instead of using a dizzying assortment of different macros to declare these test suite steps, we can mostly just use one `test!` macro with a few optional named arguments. I'm pretty sure that this doesn't change any behaviour, but please do double-check each of the individual declarations.
2024-12-29Rollup merge of #134799 - poliorcetics:ab/push-xuxotrnrtysz, r=GuillaumeGomezStuart Cook-12/+10
nits: Cleanups in `librustdoc::clean` r? ````@GuillaumeGomez````
2024-12-29Cleanup toolchain info fetchingLukas Wirth-230/+197
2024-12-29Merge pull request #18784 from Veykril/push-pqtwsvquxotyLukas Wirth-1/+1
fix: Do not merge spans if they have different anchors
2024-12-29fix: Do not merge spans if they have different anchorsLukas Wirth-1/+1
2024-12-29Auto merge of #134650 - onur-ozkan:clean-up-fixmes, r=Kobzolbors-14/+9
Clean up some FIXME notes on bootstrap Fixing and removing some FIXME notes.
2024-12-29Describe variance resolution approach differences to rustcLukas Wirth-36/+27
2024-12-29Fix `./x check bootstrap` by moving `shared_helpers::tests`Zalathar-3/+14
2024-12-29Merge pull request #4115 from RalfJung/epollOli Scherer-41/+40
epoll: avoid some clones
2024-12-29concurrency: Generalize UnblockCallback to MachineCallbackshamb0-130/+186
* Introduce UnblockKind enum to represent operation outcomes * Consolidate unblock/timeout methods into single callback interface * Update thread blocking system to use new callback mechanism * Refactor mutex and condvar implementations for new callback pattern Signed-off-by: shamb0 <r.raajey@gmail.com>
2024-12-29an EpollEventInterest does not need to ref both its FD and its ready listRalf Jung-15/+18
2024-12-29triagebot: enable merge conflict notificationRalf Jung-0/+8
2024-12-29Allow macro-declared test steps to have docstrings and attributesZalathar-21/+32
2024-12-29Consolidate the macros for declaring compiletest suitesZalathar-82/+81
2024-12-29Auto merge of #134867 - rust-lang:cargo_update, r=clubby789bors-14/+14
Weekly `cargo update` Automation to keep dependencies in `Cargo.lock` current. The following is the output from `cargo update`: ```txt compiler & tools dependencies: Locking 8 packages to latest compatible versions Updating anyhow v1.0.94 -> v1.0.95 Updating glob v0.3.1 -> v0.3.2 Updating quote v1.0.37 -> v1.0.38 Updating rustversion v1.0.18 -> v1.0.19 Updating serde v1.0.216 -> v1.0.217 Updating serde_derive v1.0.216 -> v1.0.217 Updating syn v2.0.90 -> v2.0.93 Updating unicase v2.8.0 -> v2.8.1 note: pass `--verbose` to see 36 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 5 unchanged dependencies behind latest rustbook dependencies: Locking 7 packages to latest compatible versions Updating anyhow v1.0.94 -> v1.0.95 Updating cc v1.2.5 -> v1.2.6 Updating quote v1.0.37 -> v1.0.38 Updating serde v1.0.216 -> v1.0.217 Updating serde_derive v1.0.216 -> v1.0.217 Updating syn v2.0.90 -> v2.0.93 Updating unicase v2.8.0 -> v2.8.1 ```
2024-12-29Auto merge of #134864 - Zalathar:rollup-suc8ay9, r=Zalatharbors-28/+16
Rollup of 3 pull requests Successful merges: - #134849 (compiletest: Slightly simplify the handling of debugger directive prefixes) - #134850 (Document virality of `feature(rustc_private)`) - #134852 (Added a codegen test for optimization with const arrays) r? `@ghost` `@rustbot` modify labels: rollup
2024-12-29cargo updategithub-actions-14/+14
compiler & tools dependencies: Locking 8 packages to latest compatible versions Updating anyhow v1.0.94 -> v1.0.95 Updating glob v0.3.1 -> v0.3.2 Updating quote v1.0.37 -> v1.0.38 Updating rustversion v1.0.18 -> v1.0.19 Updating serde v1.0.216 -> v1.0.217 Updating serde_derive v1.0.216 -> v1.0.217 Updating syn v2.0.90 -> v2.0.93 Updating unicase v2.8.0 -> v2.8.1 note: pass `--verbose` to see 36 unchanged dependencies behind latest library dependencies: Locking 0 packages to latest compatible versions note: pass `--verbose` to see 5 unchanged dependencies behind latest rustbook dependencies: Locking 7 packages to latest compatible versions Updating anyhow v1.0.94 -> v1.0.95 Updating cc v1.2.5 -> v1.2.6 Updating quote v1.0.37 -> v1.0.38 Updating serde v1.0.216 -> v1.0.217 Updating serde_derive v1.0.216 -> v1.0.217 Updating syn v2.0.90 -> v2.0.93 Updating unicase v2.8.0 -> v2.8.1
2024-12-28Start using mdbook-linkcheck2 (#2103)Martin Liška-14/+8
2024-12-29Rollup merge of #134850 - tamird:rustc-private-book-update, r=bjorn3Stuart Cook-2/+5
Document virality of `feature(rustc_private)` Closes #134825. r? `@bjorn3`
2024-12-29Rollup merge of #134849 - Zalathar:debuginfo-prefixes, r=lqd,clubby789,jieyouxuStuart Cook-26/+11
compiletest: Slightly simplify the handling of debugger directive prefixes The `cdbg-` prefix is not used by any tests in `tests/debuginfo`, and perhaps there never were any tests that used it. Getting rid of it also lets us get rid of the code for parsing multiple prefixes at the same time, since every debugger now has exactly one prefix.
2024-12-28epoll: avoid some clonesRalf Jung-28/+24
2024-12-28nits: librustdoc::cleanAlexis (Poliorcetics) Bourget-12/+10
- librustdoc::clean::clean_lifetime doesn't need a mut doc context - librustdoc::clean::normalize doesn't need a mut doc context - move Some() wrapping up into `clean_predicate()` - simplify nested if in librustdoc::clean::record_extern_fqn()
2024-12-28Auto merge of #134848 - Zalathar:check-compiletest, r=jieyouxubors-0/+4
bootstrap: Allow `./x check compiletest` Did you know that bootstrap didn't support `./x check compiletest`? Well, now it does! Manually add `"compiletest"` to your `rust-analyzer.check.overrideCommand` check command to get error/warning integration when modifying compiletest.
2024-12-28Consider `Enum::Variant` even when it comes from a different crateChayim Refael Friedman-39/+66
2024-12-28Show variance of parameters on hoverLukas Wirth-12/+69