solana/accounts-db
Illia Bobyr d077b13efa
accounts-db: test_hash_stored_account: Avoid UB. (#33083)
unsafe { transmute }` in the test is generating undefined behavior, as it
assigns a value into `bool` that is neither 0 nor 1.

We see discrepancy between release and debug builds due to this.

It is better to avoid `unsafe` blocks if there alternatives that let the
compiler check everything.
2023-09-05 20:30:17 -07:00
..
src accounts-db: test_hash_stored_account: Avoid UB. (#33083) 2023-09-05 20:30:17 -07:00
Cargo.toml dcou: make internal function `pub` conditionally (#32822) 2023-08-13 14:12:20 +09:00
build.rs Move accounts-db code to its own crate (#32766) 2023-08-09 13:03:36 -07:00