solana/vote
Ryo Onodera 05ddbf3b91
Define generic AbiExample for OnceLock (#33520)
* Define generic AbiExample for OnceLock

* Guard with cfg...

cargo-test-sbf (governance/addin-mock/program, governance/program):
error[E0658]: use of unstable library feature 'once_cell'
   --> src/abi_example.rs:559:36
     |
 559 | impl<T: AbiExample> AbiExample for std::sync::OnceLock<T> {
     |                                    ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #74465 <https://github.com/rust-lang/rust/issues/74465> for more information
     = help: add `#![feature(once_cell)]` to the crate attributes to enable
2023-10-04 23:09:43 +09:00
..
src Define generic AbiExample for OnceLock (#33520) 2023-10-04 23:09:43 +09:00
Cargo.toml Cleanup cargo deps in vote crate (#33407) 2023-09-26 08:26:51 -07:00
build.rs