about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-05 19:43:51 +0200
committerGitHub <noreply@github.com>2024-09-05 19:43:51 +0200
commitd34ad5d9aa54777c42cb4f96277910e8e9df975a (patch)
tree97198cf3e26d0c50245919666524b8db8e2ff3e5 /compiler/rustc_codegen_llvm/src/lib.rs
parenta0ab808caa80f5f51dbf458b360a997444b92f5f (diff)
parent4df28b8bf1c3e9dade6ab29358effc99010f594b (diff)
downloadrust-d34ad5d9aa54777c42cb4f96277910e8e9df975a.tar.gz
rust-d34ad5d9aa54777c42cb4f96277910e8e9df975a.zip
Rollup merge of #129957 - chenx97:lint-docs-linker-opt, r=albertlarsan68
forward linker option to lint-docs

This fixes an error found when building the doc for a cross-built toolchain.

```
warning: the code example in lint `unstable_syntax_pre_expansion` in /buildroots/chenx97/rustc-1.80.1-src/compiler/rustc_lint_defs/src/builtin.rs failed to generate the expected output: did not find lint `unstable_syntax_p
re_expansion` in output of example, got:

error: linking with `cc` failed: exit status: 1
...
```
Closes: #129956
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions