diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2025-08-29 22:55:25 +0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2025-09-01 00:34:34 +0300 |
commit | 8851e27d2cb947ea8bbbe8e812068f7bf5cbd00b (patch) | |
tree | cb541b12e6503ac69c2c0d20bd423e721a11507a /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c09461a0d24fba8a847a37a381626141da22d8ee (diff) | |
download | linux-8851e27d2cb947ea8bbbe8e812068f7bf5cbd00b.tar.xz |
rust: support Rust >= 1.91.0 target spec
Starting with Rust 1.91.0 (expected 2025-10-30), the target spec format
has changed the type of the `target-pointer-width` key from string
to integer [1].
Thus conditionally use one or the other depending on the version.
Cc: Waffle Maybe <waffle.lapkin@gmail.com>
Link: https://github.com/rust-lang/rust/pull/144443 [1]
Link: https://lore.kernel.org/r/20250829195525.721664-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions