<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/run-make/rustdoc-default-output/output-default.stdout, branch 1.89.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.89.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.89.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-09T19:50:06+00:00</updated>
<entry>
<title>Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez</title>
<updated>2025-05-09T19:50:06+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-05-09T19:50:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a5bbe0527b287d43f805b219e62f47a6794f3a8'/>
<id>urn:sha1:7a5bbe0527b287d43f805b219e62f47a6794f3a8</id>
<content type='text'>
rustdoc: Replace unstable flag `--doctest-compilation-args` with a simpler one: `--doctest-build-arg`

Tracking issue: https://github.com/rust-lang/rust/issues/134172.
Context: https://github.com/rust-lang/rust/pull/137096#issuecomment-2776318800

Yeets the ad hoc shell-like lexer for 'nested' program arguments.
No FCP necessary since the flag is unstable.

I've chosen to replace `compilation` with `build` because it's shorter (you now need to pass it multiple times in order to pass many arguments to the doctest compiler, so it matters a bit) and since I prefer it esthetically.

**Issue**: Even though we don't process the argument passed to `--doctest-build-arg`, we end up passing it via an argument file (`rustc `@argfile`)` which delimits arguments by line break (LF or CRLF, [via](https://doc.rust-lang.org/rustc/command-line-arguments.html#path-load-command-line-flags-from-a-path)) meaning ultimately the arguments still get split which is unfortunate. Still, I think this change is an improvement over the status quo.

I'll update the tracking issue if/once this PR merges. I'll also add the (CR)LF issue to 'unresolved question'.

r? GuillaumeGomez
r? notriddle
</content>
</entry>
<entry>
<title>Rollup merge of #140152 - xizheyin:issue-140102, r=jieyouxu</title>
<updated>2025-04-25T15:31:47+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-04-25T15:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb225e395d53eb718599150a59cf86658f4994d8'/>
<id>urn:sha1:eb225e395d53eb718599150a59cf86658f4994d8</id>
<content type='text'>
Unify the format of rustc cli flags

As mentioned in #140102, I unified the format of rustc CLI flags.

I use the following rules:
1. `&lt;param&gt;`: Indicates a required parameter
2. `[param]`: Indicates an optional parameter
3. `|`: Indicates a mutually exclusive option
4. `*`: a list element with description

Current output:
```bash
Usage: rustc [OPTIONS] INPUT

Options:
    -h, --help          Display this message
        --cfg &lt;SPEC&gt;    Configure the compilation environment.
                        SPEC supports the syntax `&lt;NAME&gt;[="&lt;VALUE&gt;"]`.
        --check-cfg &lt;SPEC&gt;
                        Provide list of expected cfgs for checking
    -L [&lt;KIND&gt;=]&lt;PATH&gt;  Add a directory to the library search path. The
                        optional KIND can be one of
                        &lt;dependency|crate|native|framework|all&gt; (default:
                        all).
    -l [&lt;KIND&gt;[:&lt;MODIFIERS&gt;]=]&lt;NAME&gt;[:&lt;RENAME&gt;]
                        Link the generated crate(s) to the specified native
                        library NAME. The optional KIND can be one of
                        &lt;static|framework|dylib&gt; (default: dylib).
                        Optional comma separated MODIFIERS
                        &lt;bundle|verbatim|whole-archive|as-needed&gt;
                        may be specified each with a prefix of either '+' to
                        enable or '-' to disable.
        --crate-type &lt;bin|lib|rlib|dylib|cdylib|staticlib|proc-macro&gt;
                        Comma separated list of types of crates
                        for the compiler to emit
        --crate-name &lt;NAME&gt;
                        Specify the name of the crate being built
        --edition &lt;2015|2018|2021|2024|future&gt;
                        Specify which edition of the compiler to use when
                        compiling code. The default is 2015 and the latest
                        stable edition is 2024.
        --emit &lt;TYPE&gt;[=&lt;FILE&gt;]
                        Comma separated list of types of output for the
                        compiler to emit.
                        Each TYPE has the default FILE name:
                        * asm - CRATE_NAME.s
                        * llvm-bc - CRATE_NAME.bc
                        * dep-info - CRATE_NAME.d
                        * link - (platform and crate-type dependent)
                        * llvm-ir - CRATE_NAME.ll
                        * metadata - libCRATE_NAME.rmeta
                        * mir - CRATE_NAME.mir
                        * obj - CRATE_NAME.o
                        * thin-link-bitcode - CRATE_NAME.indexing.o
        --print &lt;INFO&gt;[=&lt;FILE&gt;]
                        Compiler information to print on stdout (or to a file)
                        INFO may be one of
                        &lt;all-target-specs-json|calling-conventions|cfg|check-cfg|code-models|crate-name|crate-root-lint-levels|deployment-target|file-names|host-tuple|link-args|native-static-libs|relocation-models|split-debuginfo|stack-protector-strategies|supported-crate-types|sysroot|target-cpus|target-features|target-libdir|target-list|target-spec-json|tls-models&gt;.
    -g                  Equivalent to -C debuginfo=2
    -O                  Equivalent to -C opt-level=3
    -o &lt;FILENAME&gt;       Write output to FILENAME
        --out-dir &lt;DIR&gt; Write output to compiler-chosen filename in DIR
        --explain &lt;OPT&gt; Provide a detailed explanation of an error message
        --test          Build a test harness
        --target &lt;TARGET&gt;
                        Target triple for which the code is compiled
    -A, --allow &lt;LINT&gt;  Set lint allowed
    -W, --warn &lt;LINT&gt;   Set lint warnings
        --force-warn &lt;LINT&gt;
                        Set lint force-warn
    -D, --deny &lt;LINT&gt;   Set lint denied
    -F, --forbid &lt;LINT&gt; Set lint forbidden
        --cap-lints &lt;LEVEL&gt;
                        Set the most restrictive lint level. More restrictive
                        lints are capped at this level
    -C, --codegen &lt;OPT&gt;[=&lt;VALUE&gt;]
                        Set a codegen option
    -V, --version       Print version info and exit
    -v, --verbose       Use verbose output

Additional help:
    -C help             Print codegen options
    -W help             Print 'lint' options and default settings
    -Z help             Print unstable compiler options
    --help -v           Print the full set of options rustc accepts
```
</content>
</entry>
<entry>
<title>Unify the format of rustc cli flags</title>
<updated>2025-04-24T04:54:40+00:00</updated>
<author>
<name>xizheyin</name>
<email>xizheyin@smail.nju.edu.cn</email>
</author>
<published>2025-04-22T08:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d05469004931c04433465e399f1440fd1b386233'/>
<id>urn:sha1:d05469004931c04433465e399f1440fd1b386233</id>
<content type='text'>
Signed-off-by: xizheyin &lt;xizheyin@smail.nju.edu.cn&gt;
</content>
</entry>
<entry>
<title>Replace flag `--doctest-compilation-args` with a simpler one: `--doctest-build-arg`</title>
<updated>2025-04-15T13:44:45+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2025-04-15T11:49:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=307a67a02a15ba0bfa26e48e0cdafbf889de5263'/>
<id>urn:sha1:307a67a02a15ba0bfa26e48e0cdafbf889de5263</id>
<content type='text'>
More notably, the value of the new flag does *not* get lexed shell-like and ad hoc.
</content>
</entry>
<entry>
<title>Fix grammar of --test-runtool-arg help text</title>
<updated>2025-04-14T19:56:02+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-04-14T19:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=115341f767741ab1584b5daeafc2709a74612f59'/>
<id>urn:sha1:115341f767741ab1584b5daeafc2709a74612f59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove and stabilize --enable-per-target-ignores</title>
<updated>2025-03-28T02:06:48+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-15T19:18:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7251b466a4d4dd164db1b818681af1c8cf9a3e22'/>
<id>urn:sha1:7251b466a4d4dd164db1b818681af1c8cf9a3e22</id>
<content type='text'>
This removes the `--enable-per-target-ignores` and enables it
unconditionally.
</content>
</entry>
<entry>
<title>Rename `--runtool` and `--runtool-arg`</title>
<updated>2025-03-28T02:04:56+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-15T18:50:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ec25e3300b930b9d2873fe589ed3cbfa55db3ffe'/>
<id>urn:sha1:ec25e3300b930b9d2873fe589ed3cbfa55db3ffe</id>
<content type='text'>
This renames `--runtool` and `--runtool-arg` to `--test-runtool` and
`--test-runtool-arg` to maintain consistency with other `--test-*`
arguments.
</content>
</entry>
<entry>
<title>Add run-make test for rustdoc `--emit=dep-info` option</title>
<updated>2025-02-26T19:36:23+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2025-02-26T16:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b97310c4491c989e74d42b48483626b988d1f5a6'/>
<id>urn:sha1:b97310c4491c989e74d42b48483626b988d1f5a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix typo and unit test</title>
<updated>2025-01-14T15:51:55+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-01-14T15:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f5e23d5c7b36d5c24e0133e0c2218810688e691c'/>
<id>urn:sha1:f5e23d5c7b36d5c24e0133e0c2218810688e691c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>re-add --disable-minification to rustdoc</title>
<updated>2025-01-11T18:33:25+00:00</updated>
<author>
<name>binarycat</name>
<email>binarycat@envs.net</email>
</author>
<published>2025-01-10T22:45:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d4057e8df01a2d1b580952e1be4099347bd5c27a'/>
<id>urn:sha1:d4057e8df01a2d1b580952e1be4099347bd5c27a</id>
<content type='text'>
this also makes the rust.docs-minification option work
as advertised in config.toml

nothing fancy this time, this is intended to be perma-unstable.
it's only really here for the benefit of rustdoc devs.

mitegates https://github.com/rust-lang/rust/issues/135345
</content>
</entry>
</feed>
