linux/Documentation/rust
Linus Torvalds fb7bd3a2aa Rust fixes for v7.4
Toolchain and infrastructure:
 
  - Fix 'objtool' warnings for the upcoming Rust 1.101.0 (expected
    2026-12-24) by adding one more 'noreturn' function.
 
 'kernel' crate:
 
  - Fix KCFI failures on every call from C to Rust IRQ handlers and
    'hrtimer' callbacks by giving the C enum bindings the correct
    'cfi_encoding'. Also prevent the same issue for DMA callbacks
    taking 'dma_data_direction'.
 
  - 'workqueue' module: fix a runtime warning when queueing work on the
    deprecated 'system_wq' by switching to 'system_{percpu,dfl}_wq'.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEPjU5OPd5QIZ9jqqOGXyLc2htIW0FAmrjhsQACgkQGXyLc2ht
 IW1GyRAA1g5eQ1ymFBsHuk0IYbbapFsVGE084mCkVVWCew0pA3Hf2RO9U2ydvZ/A
 ZUzmjigGxWtZr1uz7RSIdQhm+wxdOrIEu//WOtgc3EmNnQ7aBI5dHQg0Knzi8Aw1
 f32SuqC1Xu7UjEvdo4Ll8Jq+KzwgyNrvOSU6uFFJwhmHHfO+f7kPQQgRYNX+2229
 Y1UKg3wHiFLSaQn008DegNkJeESCvfZGR0WL2CGxaJL3A1tF1V7kwg7ePBdJOIY4
 0juVvYxnJ1nqBXOfvfIZuVDXS/pqIPIQjq/MOO/bUxu+hvE/rJIctJi/UGimwWNc
 krHUQ1CGA53gVrS8rC8pAzUYUOnoiR+738TjuwH/DmSH3mIDPRd8q8wVLRgbeB18
 ysh1kW3qbE613xb9mmBn68F9NC0nGTf1dZur4B8yU2EZz/UcE4mWvO3e5f7II1Wc
 4k7oyG70SKpzdPiAt3bCgJWevdvX1/u94IxyGSLF3UEcR2OLmjDXLCfQwUzeKLfA
 pzB7ujf+XR9SGCIorNyS+0O186s2352PJANSeiNB2b33lcThMHHAghi3VFV8RD7/
 +rjYGJ0K80CExw9MBDeDxOfkTkAh63ChLgkDBg9Hdfs7N/gyZRS6Ybl1b3N9XhaE
 8xKQ/IxpSMKLG4EMKxhIK+Il5DnmTaKY6RG6dLlW3D82+C7KATo=
 =zTmN
 -----END PGP SIGNATURE-----

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

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

   - Fix 'objtool' warnings for the upcoming Rust 1.101.0 (expected
     2026-12-24) by adding one more 'noreturn' function

  'kernel' crate:

   - Fix KCFI failures on every call from C to Rust IRQ handlers and
     'hrtimer' callbacks by giving the C enum bindings the correct
     'cfi_encoding'. Also prevent the same issue for DMA callbacks
     taking 'dma_data_direction'

   - 'workqueue' module: fix a runtime warning when queueing work on the
     deprecated 'system_wq' by switching to 'system_{percpu,dfl}_wq'"

* tag 'rust-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
  rust: dma: declare cfi_encoding for dma_data_direction
  rust: hrtimer: declare cfi_encoding for hrtimer_restart
  rust: irq: declare cfi_encoding for irqreturn
  objtool/rust: add one more `noreturn` Rust function for Rust 1.101.0
  rust: workqueue: replace deprecated system_wq with system_{percpu,dfl}_wq
2026-10-29 09:40:12 -10:00
..
arch-support.rst s390: Enable Rust support 2026-06-10 16:25:13 +02:00
coding-guidelines.rst docs: rust: add section on imports formatting 2025-10-17 00:56:20 +02:00
general-information.rst rust: kunit: use file!() inside kunit_assert! 2026-10-03 14:04:56 +02:00
index.rst Rust changes for v6.20 / v7.0 2026-02-10 11:53:01 -08:00
quick-start.rst docs: rust: quick-start: remove Ubuntu 25.10 2026-08-10 06:44:10 +02:00
testing.rst rust: workqueue: replace deprecated system_wq with system_{percpu,dfl}_wq 2026-10-21 01:30:34 +02:00