mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00

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 part of this, rename `any_symbol_contains` to `object_contains_any_symbol_substring` for accuracy.
14 lines
167 B
Rust
14 lines
167 B
Rust
#![crate_type = "lib"]
|
|
|
|
#[unsafe(no_mangle)]
|
|
pub extern "C" fn eszett() -> i8 {
|
|
42
|
|
}
|
|
|
|
#[unsafe(no_mangle)]
|
|
pub extern "C" fn beta() -> u32 {
|
|
1
|
|
}
|
|
|
|
fn main() {}
|