Right now we reference different subsets of features in CI and in developer docs:
- name: Test
run: cargo test --verbose --features untrusted,ffi,polars
cargo build --features untrusted,bindings
...
Substitute ``cargo build`` with ``cargo test`` to test
Should we be able to use --all-features instead? Currently failing locally:
error[E0599]: no function or associated item named `sample_discrete_laplace_Z2k` found for type `f64` in the current scope
--> src/traits/samplers/discretize/mod.rs:292:27
|
292 | .map(|_| f64::sample_discrete_laplace_Z2k(shift, scale, -1074))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `f64`
error[E0599]: no function or associated item named `sample_discrete_gaussian_Z2k` found for type `f64` in the current scope
--> src/traits/samplers/discretize/mod.rs:306:27
|
306 | .map(|_| f64::sample_discrete_gaussian_Z2k(shift, scale, -1074))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `f64`
It looks like we could also define a default, if there's a reason not to use all.
Right now we reference different subsets of features in CI and in developer docs:
Should we be able to use
--all-features
instead? Currently failing locally:It looks like we could also define a
default
, if there's a reason not to use all.