rust/src/librustdoc
Matthias Krüger da541088ef
Rollup merge of #112751 - ehuss:persist-test-run-directory, r=jsha
rustdoc: Fixes with --test-run-directory and relative paths.

Fixes #112191
Fixes #112210

This fixes some issues with `--test-run-directory` and its interaction with `--runtool` and `--persist-doctests`. Relative directories don't work with `Command::current_dir` very well because it has platform-specific behavior with relative paths. This fixes it by avoiding the use of relative paths.

This is needed because cargo is switching to use `--test-run-directory`, and it uses relative paths when interacting with rustdoc/rustc.
2023-08-17 08:39:20 +02:00
..
clean Rollup merge of #114822 - GuillaumeGomez:code-readability-improvement, r=notriddle 2023-08-16 20:10:38 +02:00
doctest pass unused_extern_crates in librustdoc::doctest::make_test 2023-04-25 17:20:58 +03:00
formats Store the laziness of type aliases in the DefKind 2023-08-07 15:54:31 +02:00
html Rollup merge of #114822 - GuillaumeGomez:code-readability-improvement, r=notriddle 2023-08-16 20:10:38 +02:00
json Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
passes Use more named format args 2023-08-16 16:35:23 +02:00
theme Spelling librustdoc 2023-04-16 21:44:12 -04:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml rustdoc: DocFS: Replace rayon with threadpool and enable it for all targets 2023-03-14 20:28:00 +01:00
config.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
core.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
docfs.rs Use more named format args 2023-08-16 16:35:23 +02:00
doctest.rs Rollup merge of #112751 - ehuss:persist-test-run-directory, r=jsha 2023-08-17 08:39:20 +02:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Use more named format args 2023-08-16 16:35:23 +02:00
fold.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
lib.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
lint.rs Add rustdoc::unescaped_backtick lint 2023-04-29 13:13:25 +02:00
markdown.rs Use more named format args 2023-08-16 16:35:23 +02:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
theme.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
visit.rs clean: Always store enum disriminant. 2023-01-01 18:11:53 +00:00
visit_ast.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
visit_lib.rs Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00

For more information about how librustdoc works, see the rustc dev guide.