about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-14 18:10:29 +0200
committerGitHub <noreply@github.com>2023-06-14 18:10:29 +0200
commit38ed4e5a5cf1820ed76bcba235b70dcb29f8118d (patch)
tree2a54646d3b5e69cd4f331ec46ddbdb37123a5f30 /compiler/rustc_codegen_gcc
parentc451f7bedb8ec096c5e66da511bb3be79a0c5c46 (diff)
parentfda3c9f4a8bd8daf9f5b3c7e4f45079f347a0ba5 (diff)
downloadrust-38ed4e5a5cf1820ed76bcba235b70dcb29f8118d.tar.gz
rust-38ed4e5a5cf1820ed76bcba235b70dcb29f8118d.zip
Rollup merge of #112109 - Alexendoo:unsupported-split-debuginfo, r=b-naber
Don't print unsupported split-debuginfo modes with `-Zunstable-options`

Currently unsupported `split-debuginfo` options are enabled by `-Zunstable-options`, for projects that have `-Zunstable-options` for other reasons this can be [an unexpected interaction](https://github.com/rust-lang/rust-clippy/pull/10516#issuecomment-1562604764)

This PR makes it so that `--print split-debuginfo -Zunstable-options` doesn't print unsupported modes, so that a cargo config of e.g.

```toml
[profile.dev]
split-debuginfo = "unpacked"
```

Would not cause an unsupported mode to be enabled on `x86_64-pc-windows-msvc`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions