commit | b5872e793f61738b52637111cfaf5395630b68fb | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <dmitrig@google.com> | Thu Jul 25 07:30:20 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jul 25 07:31:19 2024 -0700 |
tree | c72dac9eff085819659ea98529169e5f27047980 | |
parent | 9a6b3d913e4bcbf9defa5b546c22b79ede9466b8 [diff] |
Only require the `supported` feature for non-extern-C functions. PiperOrigin-RevId: 655948484 Change-Id: I09952c1edf53e7b68a8a5810306774bbf6fb5616
diff --git a/rs_bindings_from_cc/generate_bindings/lib.rs b/rs_bindings_from_cc/generate_bindings/lib.rs index feaeafc..03fc4be 100644 --- a/rs_bindings_from_cc/generate_bindings/lib.rs +++ b/rs_bindings_from_cc/generate_bindings/lib.rs
@@ -830,7 +830,7 @@ } else { require_any_feature( &mut missing_features, - ir::CrubitFeature::NonExternCFunctions | ir::CrubitFeature::Experimental, + ir::CrubitFeature::Supported.into(), &|| "non-extern \"C\" function".into(), ); }