#[cfg(not(any(RUcompile error rustc_version is missing in build dependency and build.rs is not specified

error: rustc_version is missing in build dependency and build.rs is not specified

#[cfg(not(any(RUSTC_WITH_SPECIALIZATION, RUSTC_WITHOUT_SPECIALIZATION)))]

compile_error!("rustc_version is missing in build dependency and build.rs is not specified");

cargo and anchor-lang are 0.30.1 ,solana version 1.18.17111:52

Any idea how to fix this?

What are you trying to build?

see also solana-frozen-abi-macro 1.11.2 - Docs.rs

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.