[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250401105850.171beb9d@canb.auug.org.au>
Date: Tue, 1 Apr 2025 10:58:50 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Miguel Ojeda <ojeda@...nel.org>, Benno Lossin <benno.lossin@...ton.me>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the rust tree with the kbuild tree
Hi all,
On Mon, 17 Mar 2025 20:38:06 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Today's linux-next merge of the rust tree got a conflict in:
>
> rust/Makefile
>
> between commit:
>
> e3de46f775ec ("rust: kbuild: skip `--remap-path-prefix` for `rustdoc`")
>
> from the kbuild tree and commit:
>
> d7659acca7a3 ("rust: add pin-init crate build infrastructure")
>
> from the rust tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> diff --cc rust/Makefile
> index 089473a89d46,e761a8cc3bd5..000000000000
> --- a/rust/Makefile
> +++ b/rust/Makefile
> @@@ -175,9 -199,9 +203,9 @@@ quiet_cmd_rustdoc_test_kernel = RUSTDO
> rm -rf $(objtree)/$(obj)/test/doctests/kernel; \
> mkdir -p $(objtree)/$(obj)/test/doctests/kernel; \
> OBJTREE=$(abspath $(objtree)) \
> - $(RUSTDOC) --test $(rust_flags) \
> + $(RUSTDOC) --test $(filter-out --remap-path-prefix=%,$(rust_flags)) \
> - -L$(objtree)/$(obj) --extern ffi --extern kernel \
> - --extern build_error --extern macros \
> + -L$(objtree)/$(obj) --extern ffi --extern pin_init \
> + --extern kernel --extern build_error --extern macros \
> --extern bindings --extern uapi \
> --no-run --crate-name kernel -Zunstable-options \
> --sysroot=/dev/null \
This is now a conflict between the kbuild tree and Linus' tree.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists