ab_proof_of_space_gpu/
lib.rs1#![cfg_attr(target_arch = "spirv", no_std)]
7#![feature(
8 array_windows,
9 bigint_helper_methods,
10 generic_const_exprs,
11 ptr_as_ref_unchecked,
12 step_trait,
13 uint_bit_width
14)]
15#![expect(incomplete_features, reason = "generic_const_exprs")]
16#![cfg_attr(all(test, not(target_arch = "spirv")), feature(new_zeroed_alloc))]
17#![cfg_attr(
18 all(test, not(miri), not(target_arch = "spirv")),
19 feature(
20 const_convert,
21 const_trait_impl,
22 maybe_uninit_fill,
23 maybe_uninit_slice,
24 maybe_uninit_write_slice
25 )
26)]
27
28#[doc(hidden)]
30pub mod shader;
31
32#[cfg(not(target_arch = "spirv"))]
34use ab_core_primitives::pos::PosProof;
35
36#[cfg(not(target_arch = "spirv"))]
38const _: () = {
39 assert!(PosProof::K >= 15 && PosProof::K <= 24);
40};