Hi Greg, Sasha,
Please consider applying the following commits for 6.13.y:
27c7518e7f1c ("rust: finish using custom FFI integer types") 1bae8729e50a ("rust: map `long` to `isize` and `char` to `u8`") 9b98be76855f ("rust: cleanup unnecessary casts")
They should apply cleanly.
This backports the custom FFI integer types, which in turn solves a build failure under `CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y`.
I will have to send something similar to 6.12.y, but it requires more commits -- I may do the `alloc` backport first we discussed the other day.
Thanks!
Cheers, Miguel
On 22/02/25 16:12, Miguel Ojeda wrote:
Hi Greg, Sasha,
Please consider applying the following commits for 6.13.y:
27c7518e7f1c ("rust: finish using custom FFI integer types") 1bae8729e50a ("rust: map `long` to `isize` and `char` to `u8`") 9b98be76855f ("rust: cleanup unnecessary casts")
They should apply cleanly.
This backports the custom FFI integer types, which in turn solves a build failure under `CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y`.
I will have to send something similar to 6.12.y, but it requires more commits -- I may do the `alloc` backport first we discussed the other day.
Thanks!
Cheers, Miguel
Thanks a lot!
Cc'ing the Asahi devs so they are aware of this for related downstream issues.
On Sat, Feb 22, 2025 at 04:12:56PM +0100, Miguel Ojeda wrote:
Hi Greg, Sasha,
Please consider applying the following commits for 6.13.y:
27c7518e7f1c ("rust: finish using custom FFI integer types") 1bae8729e50a ("rust: map `long` to `isize` and `char` to `u8`") 9b98be76855f ("rust: cleanup unnecessary casts")
They should apply cleanly.
This backports the custom FFI integer types, which in turn solves a build failure under `CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y`.
I will have to send something similar to 6.12.y, but it requires more commits -- I may do the `alloc` backport first we discussed the other day.
All now queued up, thanks.
greg k-h
On Sat, Feb 22, 2025 at 04:12:56PM +0100, Miguel Ojeda wrote:
Hi Greg, Sasha,
Please consider applying the following commits for 6.13.y:
27c7518e7f1c ("rust: finish using custom FFI integer types") 1bae8729e50a ("rust: map `long` to `isize` and `char` to `u8`") 9b98be76855f ("rust: cleanup unnecessary casts")
They should apply cleanly.
This backports the custom FFI integer types, which in turn solves a build failure under `CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y`.
I will have to send something similar to 6.12.y, but it requires more commits -- I may do the `alloc` backport first we discussed the other day.
Hi Miguel,
Has anything come of these 6.12.y backports? It sounds like we're otherwise about to have to disable features in NixOS's default kernel due to build regressions with Rust 1.85.0.
On Fri, Mar 7, 2025 at 10:48 AM Alyssa Ross hi@alyssa.is wrote:
Has anything come of these 6.12.y backports? It sounds like we're otherwise about to have to disable features in NixOS's default kernel due to build regressions with Rust 1.85.0.
I will be sending it today (I will Cc you) -- it will be a fairly long backport, so tests welcome!
Cheers, Miguel
linux-stable-mirror@lists.linaro.org