#[cfg(feature = "gpu")]
{
...
}
in my cargo.toml
[features]
gpu = []
i truly added gpu but the expression seems not work.
#[cfg(feature = "gpu")]
{
...
}
in my cargo.toml
[features]
gpu = []
i truly added gpu but the expression seems not work.
What do you mean with "seems not work"? Does it not compile? Is it ignored?
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.