linux/rust/kernel
Linus Torvalds cd3a56ac2d Rust fixes for v6.14 (3rd)
Toolchain and infrastructure:
 
  - Disallow BTF generation with Rust + LTO.
 
  - Improve rust-analyzer support.
 
 'kernel' crate:
 
  - 'init' module: remove 'Zeroable' implementation for a couple types
    that should not have it.
 
  - 'alloc' module: fix macOS failure in host test by satisfying POSIX
    alignment requirement.
 
  - Add missing '\n's to 'pr_*!()' calls.
 
 And a couple other minor cleanups.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPjU5OPd5QIZ9jqqOGXyLc2htIW0FAmfV7lAACgkQGXyLc2ht
 IW3wSg/+KEb8mYb4F/dazuCw5LlX9kM3g/5j5KsY6ClFuOkPyRkIMiTSAlaPs80u
 eX9qM2BErX5pSsh58pxsC6fIMMf1nuZlq9pr+cGTdyo/tL5jhssJobNFD+/fnIAf
 vTdik2+aOCCZZGJ4kWWHSodF0oPQR7GrpvbvLCR9ngwG1TKn2iwDN/9YDzstt3KA
 e+oQpirw0/Ev8Cm9I2NmD1i7rA00YHLNEif9bvm1MJbA9PLFkW2g9Zxz+698Uu+P
 7dmAQYN8LeiMOPKPadQjw4/n4K6IPIiuDPtxYLF6JL3cg7UD0nd4Uy52MA8xSk9D
 Z+wxVSdqTw+tOGFQTMFMAo65+H3zri7ZCjALybYVYgHdWIyZrAN8OGYpTRYYZgqf
 z4JwYxBiyPWhoNlcu1kIWwtMW/Nbi2e44DpReddzdgPewE9XHYi6EXiiKGrlu2vP
 h8BItBwlqsCwiogGKW4+s3VvZmOijrwXvu1XfjlFQ8NCLc2wxaUkcjgsTb2kTOEI
 YWTVhS0Ggxz1CbEoFnpwLjlE0qku6DCWIFeo0WslUEK/XXYm7H7DUPY9hME5sQ/5
 dQ96A/PDP1eLDM375A7ccN6eUNejzWRYpZnGtT9PvQSNmZ24eSzjvrBaUYD3/qDG
 PzbyuSZFBoysNS312mgoCRKYBqzit+GRqgwiuAez0RiJeJV+b6Y=
 =F4QT
 -----END PGP SIGNATURE-----

Merge tag 'rust-fixes-6.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux

Pull rust fixes from Miguel Ojeda:
 "Toolchain and infrastructure:

   - Disallow BTF generation with Rust + LTO

   - Improve rust-analyzer support

  'kernel' crate:

   - 'init' module: remove 'Zeroable' implementation for a couple types
     that should not have it

   - 'alloc' module: fix macOS failure in host test by satisfying POSIX
     alignment requirement

   - Add missing '\n's to 'pr_*!()' calls

  And a couple other minor cleanups"

* tag 'rust-fixes-6.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
  scripts: generate_rust_analyzer: add uapi crate
  scripts: generate_rust_analyzer: add missing include_dirs
  scripts: generate_rust_analyzer: add missing macros deps
  rust: Disallow BTF generation with Rust + LTO
  rust: task: fix `SAFETY` comment in `Task::wake_up`
  rust: workqueue: add missing newline to pr_info! examples
  rust: sync: add missing newline in locked_by log example
  rust: init: add missing newline to pr_info! calls
  rust: error: add missing newline to pr_warn! calls
  rust: docs: add missing newline to printing macro examples
  rust: alloc: satisfy POSIX alignment requirement
  rust: init: fix `Zeroable` implementation for `Option<NonNull<T>>` and `Option<KBox<T>>`
  rust: remove leftover mentions of the `alloc` crate
2025-03-15 15:40:42 -10:00
..
alloc rust: alloc: satisfy POSIX alignment requirement 2025-03-05 23:57:48 +01:00
block Rust changes for v6.14 2025-01-21 17:48:03 -08:00
fs
init rust: init: add missing newline to pr_info! calls 2025-03-06 20:42:52 +01:00
list rust: use derive(CoercePointee) on rustc >= 1.84.0 2025-01-13 23:45:30 +01:00
net Networking changes for 6.14. 2025-01-22 08:28:57 -08:00
sync rust: sync: add missing newline in locked_by log example 2025-03-06 20:44:06 +01:00
.gitignore
alloc.rs rust: use derive(CoercePointee) on rustc >= 1.84.0 2025-01-13 23:45:30 +01:00
block.rs
build_assert.rs rust: add `build_error!` to the prelude 2025-01-10 00:19:09 +01:00
cred.rs
device.rs Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
device_id.rs rust: implement `IdArray`, `IdTable` and `RawDeviceId` 2024-12-20 17:19:25 +01:00
devres.rs rust: devres: remove action in `Devres::drop` 2025-01-10 15:49:06 +01:00
driver.rs rust: driver: address soundness issue in `RegistrationOps` 2025-01-07 11:31:45 +01:00
error.rs rust: error: add missing newline to pr_warn! calls 2025-03-06 00:42:13 +01:00
faux.rs rust/kernel: Add faux device bindings 2025-02-13 16:58:58 +01:00
firmware.rs
fs.rs
generated_arch_static_branch_asm.rs.S
init.rs rust: init: add missing newline to pr_info! calls 2025-03-06 20:42:52 +01:00
io.rs rust: add `io::{Io, IoRaw}` base types 2024-12-20 17:19:26 +01:00
ioctl.rs
jump_label.rs
kunit.rs
lib.rs rust: remove leftover mentions of the `alloc` crate 2025-03-05 23:55:56 +01:00
list.rs
miscdevice.rs Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
net.rs
of.rs rust: of: add `of::DeviceId` abstraction 2024-12-20 17:21:04 +01:00
page.rs rust: page: remove unnecessary helper function from doctest 2025-01-13 23:44:55 +01:00
pci.rs rust: driver: address soundness issue in `RegistrationOps` 2025-01-07 11:31:45 +01:00
pid_namespace.rs
platform.rs rust: driver: address soundness issue in `RegistrationOps` 2025-01-07 11:31:45 +01:00
prelude.rs rust: add `build_error!` to the prelude 2025-01-10 00:19:09 +01:00
print.rs
rbtree.rs rust: rbtree: fix overindented list item 2025-02-12 23:26:55 +01:00
revocable.rs rust: add `Revocable` type 2024-12-20 17:19:26 +01:00
security.rs
seq_file.rs
sizes.rs
static_assert.rs
std_vendor.rs
str.rs rust: str: replace unwraps with question mark operators 2025-01-13 23:45:05 +01:00
sync.rs rust: lockdep: Remove support for dynamically allocated LockClassKeys 2025-03-08 00:52:00 +01:00
task.rs rust: task: fix `SAFETY` comment in `Task::wake_up` 2025-03-10 18:07:40 +01:00
time.rs
tracepoint.rs
transmute.rs
types.rs Driver core and debugfs updates 2025-01-28 12:25:12 -08:00
uaccess.rs rust: uaccess: generalize userSliceReader to support any Vec 2025-01-13 23:46:23 +01:00
workqueue.rs rust: workqueue: add missing newline to pr_info! examples 2025-03-06 20:44:06 +01:00