1diff --git a/Cargo.toml b/Cargo.toml
2index 9da787a..9214798 100644
3--- a/Cargo.toml
4+++ b/Cargo.toml
5@@ -27,3 +27,6 @@ lto = true
6 [lib]
7 name = "untrusted"
8 path = "src/untrusted.rs"
9+
10+[lints.rust]
11+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(android_dylib)'] }
12