diff options
| author | 2025-08-29 21:55:25 +0200 | |
|---|---|---|
| committer | 2025-08-31 23:34:34 +0200 | |
| commit | 8851e27d2cb947ea8bbbe8e812068f7bf5cbd00b (patch) | |
| tree | cb541b12e6503ac69c2c0d20bd423e721a11507a /drivers/cdx/controller/cdx_controller.c | |
| parent | rust: use the new name Location::file_as_c_str() in Rust >= 1.91.0 (diff) | |
| download | linux-rng-8851e27d2cb947ea8bbbe8e812068f7bf5cbd00b.tar.xz linux-rng-8851e27d2cb947ea8bbbe8e812068f7bf5cbd00b.zip | |
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 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
