about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-17 17:06:10 +0100
committerGitHub <noreply@github.com>2025-02-17 17:06:10 +0100
commit97962d7643300b91c102496ba3ab6d9279d2c536 (patch)
tree235d61ec7a4e5b34b46fa1769be6372f5f1163fa /compiler/rustc_codegen_llvm/src/errors.rs
parent48543dd66d1a9dfe56f9d218ab69e5ed9c955704 (diff)
parentea10f8efa1d9515a2ced80a05245c5bd19e55040 (diff)
downloadrust-97962d7643300b91c102496ba3ab6d9279d2c536.tar.gz
rust-97962d7643300b91c102496ba3ab6d9279d2c536.zip
Rollup merge of #137073 - niklaskorz:bootstrap-doc-fix-empty-no-std, r=clubby789
boostrap: skip no_std targets in Std doc step

This fixes a bug that currently prevents us from adding no_std library targets to rustc in nixpkgs (https://github.com/NixOS/nixpkgs/pull/382166).

When running `./x.py doc`, the `Std` doc step generally fails for no_std targets, logs: https://gist.github.com/niklaskorz/fb83f9503ce19b75e8b1af02cdebd592

Skipping no_std targets in this step will allow using no_std targets such as `bpfel-unknown-none` together with other targets in the same config without blocking the doc generator for them, e.g.

```
./configure --release-channel=stable --tools=rustc,rustdoc,rust-analyzer-proc-macro-srv --build=aarch64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin,bpfel-unknown-none

./x.py doc
```

Logs with this fix applied: https://gist.github.com/niklaskorz/cdd50aaea33ede579f737434286d800b
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions