{"id":2227704,"url":"http://patchwork.ozlabs.org/api/patches/2227704/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260424054742.45832-2-mkchauras@gmail.com/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<20260424054742.45832-2-mkchauras@gmail.com>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/20260424054742.45832-2-mkchauras@gmail.com/","date":"2026-04-24T05:47:36","name":"[V13,1/7] rust: Fix \"multiple candidates for rmeta dependency core\" error","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"a9cdd9105cd0a4972b51ef77e45fac359951d7bd","submitter":{"id":92575,"url":"http://patchwork.ozlabs.org/api/people/92575/?format=json","name":"Mukesh Kumar Chaurasiya","email":"mkchauras@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260424054742.45832-2-mkchauras@gmail.com/mbox/","series":[{"id":501303,"url":"http://patchwork.ozlabs.org/api/series/501303/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=501303","date":"2026-04-24T05:47:35","name":"Rust support for powerpc","version":13,"mbox":"http://patchwork.ozlabs.org/series/501303/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2227704/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2227704/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linuxppc-dev+bounces-20035-incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=FrykrzQM;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20035-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)","lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::629\"","lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com","lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=FrykrzQM;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::629; helo=mail-pl1-x629.google.com;\n envelope-from=mkchauras@gmail.com; receiver=lists.ozlabs.org)"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g227J5WYpz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 15:48:12 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g227J4ZZDz2ynf;\n\tFri, 24 Apr 2026 15:48:12 +1000 (AEST)","from mail-pl1-x629.google.com (mail-pl1-x629.google.com\n [IPv6:2607:f8b0:4864:20::629])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4g227H3My4z2xfR\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 24 Apr 2026 15:48:11 +1000 (AEST)","by mail-pl1-x629.google.com with SMTP id\n d9443c01a7336-2b45cb89f7eso48231835ad.0\n        for <linuxppc-dev@lists.ozlabs.org>;\n Thu, 23 Apr 2026 22:48:11 -0700 (PDT)","from li-1a3e774c-28e4-11b2-a85c-acc9f2883e29.bl1-in.ibm.com\n ([129.41.58.4])\n        by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5faa176e9sm208778245ad.20.2026.04.23.22.47.59\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 23 Apr 2026 22:48:09 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777009692;\n\tcv=none;\n b=cu34/bNIxK5TcCzFr8JzerLgnoyIzctBYOdzEi8ItNgq7fteGRLzwR5m8GZp2GLIMi7N+uPsZ/r/zcKzkwxZpH67xPWZICLujM+Ec+KtsiZCCe5M5DgrhqSvphiP9sgVn9RCxV0KJ98+Sj+SnwaTcfPsCtRfywE1YEH/GaQeBwoutHyzalno+S8Ksl68k7Wd4EnjQQ8hXewUvtXr29BEj4cy2sgtihnw55Bk502h268SurgsPvZw79G9P4KvuL2uOqBSVHZvdL3ntXUohoOPEtYIndQ7mOMXGv0/y4HBGu+U9INy9EOplUbBNeamA3p2Rsgib3kxFqALRWmCKf3VXg==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777009692; c=relaxed/relaxed;\n\tbh=avSEhYLX24df+mZ+6wWnK3u2AMb0siNB32CpS+CSjqU=;\n\th=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=jGvmwQTyWbQ9SK5Qg1myJjRQG+oO3UbMyu1fIS/yu6CvZMACR7xes6ObziIMFw6kaTTcUJ3bHrxy1rM0GSgJL6TRtM3Br95JjntmbohzEJfNsOEd3PYCja/k465ypvuoDTmyBWPQx1m2Jg2h7XzZozify7WfK6IfvhdHq/APeMSkf51Y2ZWoksgaFm7Zjz8CpS0vk+l+NAwm0KOA765i0tdRRbUbjDWi2MrbZPLLzH2nM9Ur0/upj1SeyzfgZfRGpwRVpZGV6TTzM4c3pbMLcWeM1glFccwpGMSzSBRqXadrsAI6dw5/fgPSZbxhIvkCQRZZQmDKiM7UHcrlPeq2Fg==","ARC-Authentication-Results":"i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=FrykrzQM; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::629; helo=mail-pl1-x629.google.com;\n envelope-from=mkchauras@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1777009689; x=1777614489;\n darn=lists.ozlabs.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n         :reply-to;\n        bh=avSEhYLX24df+mZ+6wWnK3u2AMb0siNB32CpS+CSjqU=;\n        b=FrykrzQM1m4MDLOk0NnQ0K1miKk5W89kJ7rp3UPUFZvt5tIp+XejtvZyGQpy/n4OiO\n         Gim4x5DurMjk44ecljdH8ytXDBJh0GvD/Gu+b7QANSf1egZbMDQZW1bJleN6rXcgpIFg\n         R3Co7ldEaqbPq2ojpjzm3l3gxtefdArwFytl2uIKpxkWxA5dv4AVJ9wKyh1+5n8KvByb\n         qo5ltcB39y97YztFDSaUY12NqoheIVh/LHYBZnoT2NMFC+j5Hg3CRLnn+upyVZlgzCRy\n         plEnpr/Hla9uBDcGliELzlARnF/eFcRKiqQiqh575C/dwyXW6SEy0Qy5OANOmfBx+o5S\n         lzwQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777009689; x=1777614489;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=avSEhYLX24df+mZ+6wWnK3u2AMb0siNB32CpS+CSjqU=;\n        b=YUPeF66NcsxUrL3t+2zHwzEs+/a7dHYXgf6BPooySyIDAyVptme4hP1NoQlNwNdq7j\n         2Xgc/Z+55ntPi4YYmSx3LaJPG+iji/Juni5VD4CrLpZk2UafABtmCF1+7f9ihNAdqMek\n         deiMucWKgejLIpigsvQWRZCDUnC0OI2ppE7EGfQPNjIUG3f3hRhRhh+LbdahnZD+x2P3\n         wc6qpoiFWedHl0OuBcChFWMLZr5QoD7Ba4lvutbW1uVvpyUNkyLvGTCTUCElgDVlwS6D\n         yqqwI12IxldrC5/UG1ONnmg+kReGa5m6M2FtxC47NzIpLaJOQDYzt3q9YhkoSzjKhAqC\n         A0tQ==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+1NrAgihZ4sGF257cVHl/vocGzbMXG43b+XQHJ5dN3y8cEsn0bMNURiAeIylajFAX9hLcTEMu6mRiGH0E=@lists.ozlabs.org","X-Gm-Message-State":"AOJu0Yxu7aVS5zDWMZtk2xyRSkCYBedVEEvfdECQDBoGszZ/R5kguBZ2\n\tT2kim6cVMaXjze6yd20IGMbznWcM1LUKCj7J9p85bNX3dB/ZCw8SUUxA","X-Gm-Gg":"AeBDiesGmfvAKvEb0i785klp/phS8YRZsFuZBjXhj2dqX64F9B7X+6p0hYtKTVMuMKH\n\tb6YKzqBmdizRgTSXPD58X4v+S8xm636Eh6sYl1kp6B64dRqEkh1BYcAQ9R9sTdQWTuZGVdbliaE\n\tWAzChdmjmPJ2JbZlp+z8SOEyhiHCQqtQjJKbUiBMUCR6zqNEou+DVPAREYhX3Fi7Fb6nc7jgv2y\n\tF4ruuaQLUZiXgTG0KSak9hAfKhIAWuspJLc3ub6ak3F0r7zQlAe19OAsBHL1oICsctrelckwh7g\n\tcawnm+thqC6Vx+Uhb4b3eKw4TR9rAhsuuq/lKxunOYGUIhb/lkBKPjT8824On/blfZ0yS5o3TO8\n\t+xyJkhwsgAxFmDX1V2fCy0/o+5t8xYC7NhkhLZwG3/2tiJndO4LoR0uPnZVOxIEq8ZL8lDp5kXf\n\tWNsfoclkXn7OEAXYuqymuvsp+vJCcFg7gOwE8ZMy4nQlTTIYZcVLKieT/Qul9grXd3LGS7WPObJ\n\t1wqF3CdP1G2xSAOtnlcxpVPng==","X-Received":"by 2002:a17:903:3b88:b0:2b2:ec31:25be with SMTP id\n d9443c01a7336-2b5f9f35acamr294635205ad.24.1777009689388;\n        Thu, 23 Apr 2026 22:48:09 -0700 (PDT)","From":"\"Mukesh Kumar Chaurasiya (IBM)\" <mkchauras@gmail.com>","To":"maddy@linux.ibm.com,\n\tmpe@ellerman.id.au,\n\tnpiggin@gmail.com,\n\tchleroy@kernel.org,\n\tpeterz@infradead.org,\n\tjpoimboe@kernel.org,\n\tjbaron@akamai.com,\n\taliceryhl@google.com,\n\trostedt@goodmis.org,\n\tardb@kernel.org,\n\tsumit.semwal@linaro.org,\n\tchristian.koenig@amd.com,\n\tojeda@kernel.org,\n\tboqun@kernel.org,\n\tgary@garyguo.net,\n\tbjorn3_gh@protonmail.com,\n\tlossin@kernel.org,\n\ta.hindborg@kernel.org,\n\ttmgross@umich.edu,\n\tdakr@kernel.org,\n\tnathan@kernel.org,\n\tnick.desaulniers+lkml@gmail.com,\n\tmorbo@google.com,\n\tjustinstitt@google.com,\n\ttamird@kernel.org,\n\tarnd@arndb.de,\n\tnsc@kernel.org,\n\tmkchauras@gmail.com,\n\tsimona.vetter@ffwll.ch,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-media@vger.kernel.org,\n\tdri-devel@lists.freedesktop.org,\n\tlinaro-mm-sig@lists.linaro.org,\n\trust-for-linux@vger.kernel.org,\n\tllvm@lists.linux.dev","Subject":"[PATCH V13 1/7] rust: Fix \"multiple candidates for rmeta dependency\n core\" error","Date":"Fri, 24 Apr 2026 11:17:36 +0530","Message-ID":"<20260424054742.45832-2-mkchauras@gmail.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260424054742.45832-1-mkchauras@gmail.com>","References":"<20260424054742.45832-1-mkchauras@gmail.com>","X-Mailing-List":"linuxppc-dev@lists.ozlabs.org","List-Id":"<linuxppc-dev.lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev+help@lists.ozlabs.org>","List-Owner":"<mailto:linuxppc-dev+owner@lists.ozlabs.org>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Archive":"<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Subscribe":"<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>","List-Unsubscribe":"<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>","Precedence":"list","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Spam-Status":"No, score=-0.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"},"content":"When building Rust code for powerpc64le with LLVM=1 and -j1, rustc\nencounters an error: \"multiple candidates for `rmeta` dependency `core`\nfound\", with two candidates:\n1. The host's standard library from the rustup toolchain\n2. The kernel's custom libcore.rmeta in the rust/ directory\n\nThis occurs because the build system uses `-L$(objtree)/rust` for host\nlibrary builds (proc_macro2, quote, syn), which causes rustc to search\nthe rust/ directory. During this search, rustc finds both the kernel's\ncustom libcore.rmeta and gains access to the host's standard library,\ncreating a conflict.\n\nThe solution is to separate host libraries into a dedicated rust/host/\nsubdirectory and use `-L$(objtree)/rust/host` for host builds instead\nof `-L$(objtree)/rust`. This ensures that:\n\n1. Host library builds (proc_macro2, quote, syn) only search rust/host/\n   and never encounter the kernel's libcore.rmeta\n2. Proc macro builds use `-L$(objtree)/rust/host` to find their\n   dependencies\n\nSpecial handling is added for rustdoc-pin_init, which is a host build\n(to access the alloc crate) but depends on proc macros from the main\nrust/ directory. It uses explicit `--extern` paths to reference the\nproc macros without adding `-L$(objtree)/rust`, which would reintroduce\nthe conflict.\n\nThe rust/host/ directory is added to clean-files to ensure it's removed\nduring `make clean`.\n\nLink: https://github.com/Rust-for-Linux/linux/issues/105\nLink: https://github.com/linuxppc/issues/issues/451\nSigned-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>\n---\n rust/Makefile | 38 +++++++++++++++++++++-----------------\n 1 file changed, 21 insertions(+), 17 deletions(-)","diff":"diff --git a/rust/Makefile b/rust/Makefile\nindex b361bfedfdf0..2a5428a5503d 100644\n--- a/rust/Makefile\n+++ b/rust/Makefile\n@@ -3,6 +3,9 @@\n # Where to place rustdoc generated documentation\n rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc\n \n+# Clean generated host directory\n+clean-files := host/\n+\n obj-$(CONFIG_RUST) += core.o compiler_builtins.o ffi.o\n always-$(CONFIG_RUST) += exports_core_generated.h\n \n@@ -31,7 +34,7 @@ endif\n \n obj-$(CONFIG_RUST) += exports.o\n \n-always-$(CONFIG_RUST) += libproc_macro2.rlib libquote.rlib libsyn.rlib\n+always-$(CONFIG_RUST) += host/libproc_macro2.rlib host/libquote.rlib host/libsyn.rlib\n \n always-$(CONFIG_RUST_KERNEL_DOCTESTS) += doctests_kernel_generated.rs\n always-$(CONFIG_RUST_KERNEL_DOCTESTS) += doctests_kernel_generated_kunit.c\n@@ -146,7 +149,7 @@ quiet_cmd_rustdoc = RUSTDOC $(if $(rustdoc_host),H, ) $<\n       cmd_rustdoc = \\\n \tOBJTREE=$(abspath $(objtree)) \\\n \t$(RUSTDOC) $(filter-out $(skip_flags) --remap-path-scope=%,$(if $(rustdoc_host),$(rust_common_flags),$(rust_flags))) \\\n-\t\t$(rustc_target_flags) -L$(objtree)/$(obj) \\\n+\t\t$(rustc_target_flags) -L$(objtree)/$(obj)$(if $(rustdoc_host),/host) \\\n \t\t-Zunstable-options --generate-link-to-definition \\\n \t\t--output $(rustdoc_output) \\\n \t\t--crate-name $(subst rustdoc-,,$@) \\\n@@ -231,6 +234,7 @@ rustdoc-pin_init_internal: $(src)/pin-init/internal/src/lib.rs \\\n \n rustdoc-pin_init: private rustdoc_host = yes\n rustdoc-pin_init: private rustc_target_flags = $(pin_init-flags) \\\n+    --extern pin_init_internal=$(objtree)/$(obj)/$(libpin_init_internal_name) \\\n     --extern alloc --cfg feature=\\\"alloc\\\"\n rustdoc-pin_init: $(src)/pin-init/src/lib.rs rustdoc-pin_init_internal \\\n     rustdoc-macros FORCE\n@@ -520,23 +524,23 @@ quiet_cmd_rustc_procmacrolibrary = $(RUSTC_OR_CLIPPY_QUIET) PL $@\n \t$(if $(skip_clippy),$(RUSTC),$(RUSTC_OR_CLIPPY)) \\\n \t\t$(filter-out $(skip_flags),$(rust_common_flags) $(rustc_target_flags)) \\\n \t\t--emit=dep-info=$(depfile) --emit=link=$@ --crate-type rlib -O \\\n-\t\t--out-dir $(objtree)/$(obj) -L$(objtree)/$(obj) \\\n+\t\t--out-dir $(objtree)/$(obj)/host -\\L$(objtree)/$(obj)/host \\\n \t\t--crate-name $(patsubst lib%.rlib,%,$(notdir $@)) $<\n \n-$(obj)/libproc_macro2.rlib: private skip_clippy = 1\n-$(obj)/libproc_macro2.rlib: private rustc_target_flags = $(proc_macro2-flags)\n-$(obj)/libproc_macro2.rlib: $(src)/proc-macro2/lib.rs FORCE\n+$(obj)/host/libproc_macro2.rlib: private skip_clippy = 1\n+$(obj)/host/libproc_macro2.rlib: private rustc_target_flags = $(proc_macro2-flags)\n+$(obj)/host/libproc_macro2.rlib: $(src)/proc-macro2/lib.rs FORCE\n \t+$(call if_changed_dep,rustc_procmacrolibrary)\n \n-$(obj)/libquote.rlib: private skip_clippy = 1\n-$(obj)/libquote.rlib: private skip_flags = $(quote-skip_flags)\n-$(obj)/libquote.rlib: private rustc_target_flags = $(quote-flags)\n-$(obj)/libquote.rlib: $(src)/quote/lib.rs $(obj)/libproc_macro2.rlib FORCE\n+$(obj)/host/libquote.rlib: private skip_clippy = 1\n+$(obj)/host/libquote.rlib: private skip_flags = $(quote-skip_flags)\n+$(obj)/host/libquote.rlib: private rustc_target_flags = $(quote-flags)\n+$(obj)/host/libquote.rlib: $(src)/quote/lib.rs $(obj)/host/libproc_macro2.rlib FORCE\n \t+$(call if_changed_dep,rustc_procmacrolibrary)\n \n-$(obj)/libsyn.rlib: private skip_clippy = 1\n-$(obj)/libsyn.rlib: private rustc_target_flags = $(syn-flags)\n-$(obj)/libsyn.rlib: $(src)/syn/lib.rs $(obj)/libquote.rlib FORCE\n+$(obj)/host/libsyn.rlib: private skip_clippy = 1\n+$(obj)/host/libsyn.rlib: private rustc_target_flags = $(syn-flags)\n+$(obj)/host/libsyn.rlib: $(src)/syn/lib.rs $(obj)/host/libquote.rlib FORCE\n \t+$(call if_changed_dep,rustc_procmacrolibrary)\n \n quiet_cmd_rustc_procmacro = $(RUSTC_OR_CLIPPY_QUIET) P $@\n@@ -545,20 +549,20 @@ quiet_cmd_rustc_procmacro = $(RUSTC_OR_CLIPPY_QUIET) P $@\n \t\t-Clinker-flavor=gcc -Clinker=$(HOSTCC) \\\n \t\t-Clink-args='$(call escsq,$(KBUILD_PROCMACROLDFLAGS))' \\\n \t\t--emit=dep-info=$(depfile) --emit=link=$@ --extern proc_macro \\\n-\t\t--crate-type proc-macro -L$(objtree)/$(obj) \\\n+\t\t--crate-type proc-macro -L$(objtree)/$(obj)/host \\\n \t\t--crate-name $(patsubst lib%.$(libmacros_extension),%,$(notdir $@)) \\\n \t\t@$(objtree)/include/generated/rustc_cfg $<\n \n # Procedural macros can only be used with the `rustc` that compiled it.\n $(obj)/$(libmacros_name): private rustc_target_flags = \\\n     --extern proc_macro2 --extern quote --extern syn\n-$(obj)/$(libmacros_name): $(src)/macros/lib.rs $(obj)/libproc_macro2.rlib \\\n-    $(obj)/libquote.rlib $(obj)/libsyn.rlib FORCE\n+$(obj)/$(libmacros_name): $(src)/macros/lib.rs $(obj)/host/libproc_macro2.rlib \\\n+    $(obj)/host/libquote.rlib $(obj)/host/libsyn.rlib FORCE\n \t+$(call if_changed_dep,rustc_procmacro)\n \n $(obj)/$(libpin_init_internal_name): private rustc_target_flags = $(pin_init_internal-flags)\n $(obj)/$(libpin_init_internal_name): $(src)/pin-init/internal/src/lib.rs \\\n-    $(obj)/libproc_macro2.rlib $(obj)/libquote.rlib $(obj)/libsyn.rlib FORCE\n+    $(obj)/host/libproc_macro2.rlib $(obj)/host/libquote.rlib $(obj)/host/libsyn.rlib FORCE\n \t+$(call if_changed_dep,rustc_procmacro)\n \n # `rustc` requires `-Zunstable-options` to use custom target specifications\n","prefixes":["V13","1/7"]}