Skip to content

proc_macro crate missing from miri sysroot beginning nightly-2023-05-05 #2874

Closed
rust-lang/rust
#111236
@dtolnay

Description

@dtolnay
// src/main.rs

extern crate proc_macro;

fn main() {}
$ cargo +nightly-2023-05-04 miri run  # works
$ cargo +nightly-2023-05-05 miri run
   Compiling testing v0.0.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `~/.rustup/toolchains/nightly-2023-05-05-x86_64-unknown-linux-gnu/bin/cargo-miri runner target/miri/x86_64-unknown-linux-gnu/debug/testing`

error[E0463]: can't find crate for `proc_macro`
 --> src/main.rs:1:1
  |
1 | extern crate proc_macro;
  | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.

Rust-lang/rust commit range is rust-lang/rust@473f916...74c4821. Probably rust-lang/rust#108865 (FYI @Zoxc @jyn514)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions