-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
As of rust-lang/cargo#7700 --extern proc_macro
is getting added to the prelude of the rustc
invocations cargo
makes when building proc_macro
crates.
As crate2nix
/buildRustCrate
(not sure where exactly this would go, filling this issue out without investigating too much) does not add this flag, there’s some discrepancy between how rustc behaves when invoked by cargo and by crate2nix. In particular cargo
does not require extern crate proc_macro
anymore to use proc_macro
in proc_macro
crates, so eventually things will start failing to compile when this gets to stable and crates stop including the extern crate
.
Metadata
Metadata
Assignees
Labels
No labels