You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the latest nightly build of Rust, the solana-program crate fails to compile because the use of the offset_of macro is considered an experimental feature.
Proposed Solution
Add the feature flag #![feature(offset_of)] to the top of the solana-program lib.rs file.
The text was updated successfully, but these errors were encountered:
Problem
On the latest nightly build of Rust, the solana-program crate fails to compile because the use of the offset_of macro is considered an experimental feature.
Proposed Solution
Add the feature flag #![feature(offset_of)] to the top of the solana-program lib.rs file.
The text was updated successfully, but these errors were encountered: