diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-06 13:03:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-06 13:03:16 +0200 |
| commit | a0c5e6b0413db76778ca84f6ba195e3b36d8d233 (patch) | |
| tree | c9446fbbae3b6f4ca36a42f7443ec19c3a3bc003 /Cargo.lock | |
| parent | bc0dfaa048e0549d7d8b275bc240ba4862925307 (diff) | |
| parent | d224d3a8fa3c5299892d892664bc128fd3fe6571 (diff) | |
| download | rust-a0c5e6b0413db76778ca84f6ba195e3b36d8d233.tar.gz rust-a0c5e6b0413db76778ca84f6ba195e3b36d8d233.zip | |
Rollup merge of #146211 - Urgau:cfg-disallow-shebang, r=fmease
Disallow shebang in `--cfg` and `--check-cfg` arguments This PR is similar to https://github.com/rust-lang/rust/issues/146130, where we disallowed frontmatter in `--cfg` and `--check-cfg` arguments. While fixing the other one we also discovered that shebang `#!/usr/bin/shebang` are currently also allowed in `--cfg` and `--check-cfg` arguments. Allowing shebang in them (which are just ignored) was never intended, this PR fixes that by not stripping shebang for `--cfg` and `--check-cfg` arguments. This is technically a breaking-change, although I don't expect anyone to actually rely on this unintended behavior. Fixes https://github.com/rust-lang/rust/issues/146130#issuecomment-3246299499 r? fmease
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions
