about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/errors.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-07-15 12:52:39 +0200
committerGitHub <noreply@github.com>2025-07-15 12:52:39 +0200
commitb89c63de0e1b7f1f97c35628254039ba19ed6967 (patch)
tree0c1af0be0f599516e4b89b04f546c841d30123a6 /compiler/rustc_codegen_gcc/src/errors.rs
parent6b6c8be19d91b659e523d0c3f400bc54bc6300cb (diff)
parent1d0cbc6816cbc3cf069a9970a09666ed5b4aafdf (diff)
downloadrust-b89c63de0e1b7f1f97c35628254039ba19ed6967.tar.gz
rust-b89c63de0e1b7f1f97c35628254039ba19ed6967.zip
Rollup merge of #143837 - jieyouxu:symbol-apis, r=ChrisDenton
Adjust `run_make_support::symbols` helpers

Massage the `symbols` helpers to fill out {match all, match any} x {substring match, exact match}:

|           | Substring match                        | Exact match                   |
|-----------|----------------------------------------|-------------------------------|
| Match any | `object_contains_any_symbol_substring` | `object_contains_any_symbol`  |
| Match all | `object_contains_all_symbol_substring` | `object_contains_all_symbols` |

As I'd like to use `object_contains_all_symbols` for rust-lang/rust#143669.

As part of this:

- Rename `any_symbol_contains` to `object_contains_any_symbol_substring` for accuracy, as `any_symbol_contains` is actually "contains any matching substring".
- Remove `with_symbol_iter`.

Noticed while working on https://github.com/rust-lang/rust/pull/143669.

r? ``@ChrisDenton`` (or compiler)
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions