Re: linux-next: Tree for Oct 2
From: Miguel Ojeda
Date: Thu Oct 02 2025 - 17:35:33 EST
On Thu, Oct 2, 2025 at 10:10 PM Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> RUSTC L rust/core.o
> error: cannot find a built-in macro with name `define_opaque`
> --> /usr/lib/rustlib/src/rust/library/core/src/macros/mod.rs:1757:5
> |
> 1757 | / pub macro define_opaque($($tt:tt)*) {
> 1758 | | /* compiler built-in */
> 1759 | | }
> | |_____^
>
Thanks Dan.
Hmm... Strange, it is the `core` library, which comes with the
compiler and thus should always work.
So it sounds like a mismatch between the binary used and the sources
of the standard library (or perhaps other kind of mismatch, like the
wrong edition being passed, but from a quick look it doesn't seem like
it).
I will try to reproduce it. Did you happen to recently upgrade the
toolchain(s) or something like that, by chance? Are you using the
Debian packages?
Thanks!
Cheers,
Miguel