Re: [PATCH 6.12.y] rust: kbuild: set `bindgen`'s Rust target version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: 7a5f93ea5862da91488975acaa0c7abd508f192b


Status in newer kernel trees:
6.12.y | Not found

Note: The patch differs from the upstream commit:
---
1:  7a5f93ea5862 ! 1:  97fd2a891113 rust: kbuild: set `bindgen`'s Rust target version
    @@ Metadata
      ## Commit message ##
         rust: kbuild: set `bindgen`'s Rust target version
     
    +    commit 7a5f93ea5862da91488975acaa0c7abd508f192b upstream.
    +
         Each `bindgen` release may upgrade the list of Rust targets. For instance,
         currently, in their master branch [1], the latest ones are:
     
    @@ Commit message
     
      ## rust/Makefile ##
     @@ rust/Makefile: endif
    - # architecture instead of generating `usize`.
    - bindgen_c_flags_final = $(bindgen_c_flags_lto) -fno-builtin -D__BINDGEN__
    + 
    + bindgen_c_flags_final = $(bindgen_c_flags_lto) -D__BINDGEN__
      
     +# Each `bindgen` release may upgrade the list of Rust target versions. By
     +# default, the highest stable release in their list is used. Thus we need to set
    @@ rust/Makefile: endif
            cmd_bindgen = \
     -	$(BINDGEN) $< $(bindgen_target_flags) \
     +	$(BINDGEN) $< $(bindgen_target_flags) --rust-target 1.68 \
    - 		--use-core --with-derive-default --ctypes-prefix ffi --no-layout-tests \
    + 		--use-core --with-derive-default --ctypes-prefix core::ffi --no-layout-tests \
      		--no-debug '.*' --enable-function-attribute-detection \
      		-o $@ -- $(bindgen_c_flags_final) -DMODULE \
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.12.y       |  Success    |  Success   |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux