Skip to contentSkip to conversation

linux-next: manual merge of the drm-rust tree with the rust-next tree

PATCH Mark Brown 2 participants 2 messages Mar 30

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

Today's linux-next merge of the drm-rust tree got a conflict in:

scripts/Makefile.build

between commits:

560a7a9b9267f ("rust: add const_assert! macro")
3a2486cc1da5c ("kbuild: rust: provide an option to inline C helpers into Rust")

from the rust-next tree and commit:

3cc319d5f433a ("rust: enable the generic_arg_infer feature")

from the drm-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.

scripts/Makefile.build +0 -0
diff --cc scripts/Makefile.build
index d2372d15f74c9,010d08472fb2b..0000000000000
@@@ -322,7 -322,7 +323,7 @@@ $(obj)/%.lst: $(obj)/%.c FORC
  #
  # Please see https://github.com/Rust-for-Linux/linux/issues/2 for details on
  # the unstable features in use.
- rust_allowed_features := asm_const,asm_goto,arbitrary_self_types,inline_const,lint_reasons,offset_of_nested,raw_ref_op,slice_ptr_len,strict_provenance,used_with_arg
 -rust_allowed_features := asm_const,asm_goto,arbitrary_self_types,generic_arg_infer,lint_reasons,offset_of_nested,raw_ref_op,slice_ptr_len,strict_provenance,used_with_arg
++rust_allowed_features := asm_const,asm_goto,arbitrary_self_types,generic_arg_infer,inline_const,lint_reasons,offset_of_nested,raw_ref_op,slice_ptr_len,strict_provenance,used_with_arg
  
  # `--out-dir` is required to avoid temporaries being created by `rustc` in the
  # current working directory, which may be not accessible in the out-of-tree
#1 lore raw
Quoted 2 lines · Mark Brown

I fixed it up (see below) and can carry the fix as necessary.

Looks good, thanks!

Cheers,
Miguel