Skip to content
Commit 6c8b63ce authored by David Brown's avatar David Brown Committed by David Brown
Browse files

rust: Ignore unknown cfgs in the zephyr crate



We use the `#[cfg(...)]` directive in rust to pass Kconfig values through.
Because it is possible for the code to depend on a Kconfig value that isn't
present in a given build, there isn't a way for us to tell the Rust
toolchain about all possible config values.

For now, just disable this warning entirely.  This functionality could be
supported by the patch validation scripts, which seems like a better place
than trying to gather a list of all possible configs at build time.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 15556acd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment