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
Build check with some feature combinations fails at this moment. For example this command fails:
> cargo check -p zenoh --tests
...
error[E0425]: cannot find function `init` in crate `zenoh`
--> zenoh/tests/session.rs:230:25
|
230 | let peer01 = zenoh::init(r1.clone()).res_async().await.unwrap();
| ^^^^ not found in `zenoh`
|
but this works ok:
cargo check --tests
This happens because some features (unstable in this particular case) are required by dependent crates and therefore build of base crates passes ok. But by default, when feature is not explicitly specified, build fails. This command works ok:
cargo check -p zenoh --tests --features unstable
It's necessary to systematically ensure that build works with at least most of feature combinations and do it for each crate separately
The text was updated successfully, but these errors were encountered:
Build check with some feature combinations fails at this moment. For example this command fails:
but this works ok:
This happens because some features (
unstable
in this particular case) are required by dependent crates and therefore build of base crates passes ok. But by default, when feature is not explicitly specified, build fails. This command works ok:It's necessary to systematically ensure that build works with at least most of feature combinations and do it for each crate separately
The text was updated successfully, but these errors were encountered: